Why --nostdlib is used for building shared library?

2011-05-14 Thread Mu Qiao
are linked against the shared libraries. Things work properly when I reconfigure my project with --disable-shared. -- Best wishes, Mu Qiao GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5  3ACC 30B3 0DE4 17B1 57E9 ___ https://lists.gnu.org/mailman/listinfo/libtool

Re: Why --nostdlib is used for building shared library?

2011-05-15 Thread Mu Qiao
On Sun, May 15, 2011 at 7:15 PM, Ralf Wildenhues wrote: > Hello Mu Qiao, > > * Mu Qiao wrote on Sun, May 15, 2011 at 06:33:56AM CEST: >> I use libtool to manage the build of my C++ shared library. But I find >> it passes --nostdlib to g++. It works fine in most cases but i