[uClibc] Proposal adding -z defs by default

Erik Andersen andersen at codepoet.org
Thu Nov 4 09:28:03 UTC 2004


On Wed Nov 03, 2004 at 06:02:59PM +0100, Joakim Tjernlund wrote:

> > but sadly it does
> > indeed whine about missing main, and we can't add even a weak
> > main to libc or badness will ensue.  Might be possible to link
> 
> Badness being ld NOT complaining about missing main when it should?

yep.

> > libuClibc twice, with a script wrapping up ld and filtering
> > stdout for 'main' and only emitting an error for additional
> > output....
> 
> hmm, maybe one can move the reference to main into the crt* files
> somehow? Would that be even possible?

Done long since...  :-)  but since crt* is not a part of the libc
library itself, that doesn't help with using -z defs for uClibc.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list