Subject: Re: ELF vs. a.out and Python 2.0 build
To: None <kent@goathill.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-pkg
Date: 11/12/2000 23:18:36
>        /* ### should there be a leading underscore for some platforms? */
>-       sprintf(funcname, "init%.200s", shortname);
>+#ifndef __ELF__
>+       sprintf(funcname, "_init%.200s", shortname);
>+#else
>+        sprintf(funcname, "init%.200s", shortname);
>+#endif

you'd probably be better off with something like

       sprintf(funcname, "%s.200s", ___STRING(_C_LABEL(init)), shortname);

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."