I've noticed something I think is strange with gcc, the -shared flag,
and -pthread on -STABLE.  I'm hoping someone can enlighten me as to why
this happens or if it's a bug.  If I compile something with the
following command, I do not see libc_r.so linked in the resulting
object:

cc -shared -pthread -o xxx.so xxx.c

However, if I replace -pthread with -lc_r, it works.  Also, if I change
the command to:

cc -Wl,-shared -pthread -o xxx.so xxx.c

I also see libc_r.so linked in.  Is this expected behavior?  libtool
seems to like the former -shared syntax which is causing some problems
with some GTK themes.  Thanks.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to