gcc shared library init problem (2nd try)

H . J . Lu hjl@valinux.com
Wed Jul 5 08:33:00 GMT 2000


Never, ever use

# ld -shared -o libfoo.so t2.o

to create the shared library unless you know what you are doing. Always
use

# gcc -shared -o libfoo.so t2.o

One of those days I will update my ELF paper:

http://ftp.valinux.com/pub/support/hjl/doc/elf.ps.gz


-- 
H.J. Lu (hjl@gnu.org)


More information about the Gcc-bugs mailing list