This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: make gcc & -lstdc++ problem
- To: "BABICA, Rasto" <RBabica at globtel dot sk>
- Subject: Re: make gcc & -lstdc++ problem
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 27 Jul 2001 05:25:58 -0300
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <ADD7E47D2526D211AADF00805F8B5E2C0A42D0BA@exchange.globtel.sk>
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