Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cc -static pulling in some stupid amount of stuff
On Fri, Nov 14, 2008 at 13:12:37 +1100, Geoff Wing wrote:
> % cc -static -o bar foo.c
> % size bar
> text data bss dec hex filename
> 326757 7284 33108 367149 59a2d bar
> % nm bar
> ....
> lots of libc stuff
> ....
> %
>
> Why did half of libc get included?
crt0.c->exit->atexit->...
SY, Uwe
--
uwe%stderr.spb.ru@localhost | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
Home |
Main Index |
Thread Index |
Old Index