This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make gcc & -lstdc++ problem


On Jun 28, 2001, "BABICA, Rasto" <RBabica@globtel.sk> wrote:

>> I got the following response  after configuration and during compilation
>> of source code of gcc :

>> /data/src/gcc-3.0/gcc/g++ -B/data/src/gcc-3.0/gcc/ -nostdi
>> nc++  -L/data/src/gcc-3.0/alpha-dec-osf5.1/libstdc++-v3/src
[...]
>> .libs/libstdc++.lax/libsupc++convenience.a/eh_aux_runtime.o.libs/libstdc++
>> .lax/libsupc++convenience.a/eh_catch.o .libs/libstdc++.lax/
>> /usr/bin/ld:
>> Can't locate file for: -lstdc++

Looks like something went wrong in the build of libstdc++.  It
shouldn't be using g++ to link libstdc++, because g++ will attempt to
link libstdc++ in, before it's created.  It should have been
configured to use xgcc instead of g++.  What if you remove the
libstdc++-v3 directory and the sibling config.cache and bootstrap
again?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]