standard libraries are linked statically or dynamically?

Ian Lance Taylor iant@google.com
Tue Dec 28 00:01:00 GMT 2010


ali hagigat <hagigatali@gmail.com> writes:

> 080482e0 <__libc_start_main@plt>:
>  80482e0:	ff 25 14 96 04 08    	jmp    *0x8049614
>  80482e6:	68 08 00 00 00       	push   $0x8
>  80482eb:	e9 d0 ff ff ff       	jmp    80482c0 <_init+0x30>

If you see code like this then you are linking against the dynamic
library libc.so, not the archive libc.a.

Ian



More information about the Gcc-help mailing list