"-pthread" == "-lpthread" for shared libs in -CURRENT

From: Vladimir Kushnir <vkushnir_at_bigmir.net>
Date: Sat, 2 Jun 2007 01:29:47 +0300 (EEST)
Hello, guys.

In post-gcc42 -CURRENT:

cc -shared -fPIC -o libmts.so mtest.c -lm -pthread
ldd ./libmts.so
./libmts.so:
         libm.so.5 => /lib/libm.so.5 (0x800b01000)
         libthr.so.3 => /lib/libthr.so.3 (0x800c1b000)
 	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         libc.so.7 => /lib/libc.so.7 (0x800631000)

Is this behaviour bug or feature?
Received on Sat Jun 02 2007 - 13:12:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC