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

2011-05-15 Thread Ralf Wildenhues
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 is not > working well with gcov. Does it work when you pass CXXFLAGS=--coverage already a

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 is not >> working well wit