Re: Not everyone is linking shared libraries to libc
Previously Ben Collins wrote:
> Since this will not link to libc, nor does it include any of the crt?.o
> files (constructor/destructor for the library, helps ld.so). It must be
> linked like:
>
> gcc -Wl,-soname,libfoo.so.1 -shared foo.o blah.o -o libfoo.so.1
Shouldn't there be a -lc in there?
Wichert.
--
________________________________________________________________
/ Generally uninteresting signature - ignore at your convenience \
| wichert@cistron.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: