Jeffi Edward.J wrote: > > When I did make all, the folowing error occurs. > > Link tests are not allowed after GCC_NO_EXECUTABLES. > > I applied the fix given in the following link. > http://gcc.gnu.org/ml/gcc/2007-11/msg00790.html > > Still the same error occurs :( > > How to overcome this problem? Please don't top post. If you want a full compiler including the target libraries, you need to do make make install It looks to me as though you may not have a working set of target binutils in your path. Andrew. > Andrew Haley wrote: >> Jeffi Edward.J wrote: >>> Hi, >>> >>> Does libstdc++ library come with GCC? >> Yes. >> >>> I build powerpc-eabi cross tool chain >>> (GCC version 4.1.0). >>> Although I enabled languages c and C++ during GCC configuration, I >>> couldn't >>> find the libstdc++ library in my tool chain installation directory. >> That is very strange. >> >> >>> I used following commands to build the tool chain. >>> >>> ../binutils-2.19.1/configure --prefix=/home/project/ppc-cross-tools >>> --host=i686-pc-linux-gnu --target=powerpc-eabi make all make install >>> >>> ../gcc-4.1.0/configure --prefix=/home/project/ppc-cross-tools >>> --host=i686-pc-linux-gnu --target=powerpc-eabi --enable-languages=c >>> --without-headers --with-newlib --disable-shared --disable-threads >>> --disable-libssp --disable-libgomp --disable-libmudflap make all-gcc make >>> install-gcc >>> >>> ../newlib-1.17.0/configure --prefix=/home/project/ppc-cross-tools >>> --host=i686-pc-linux-gnu --target=powerpc-eabi make all make install >>> >>> ../gcc-4.1.0/configure --prefix=/home/project/ppc-cross-tools >>> --host=i686-pc-linux-gnu --target=powerpc-eabi --enable-languages=c,c++ >>> --enable-__cxa-atexit --enable-cxx-flags='-fno-exceptions' make all-gcc >>> make >>> install-gcc >>> >>> Have I missed any option in configuration? Could anyone please tell how >>> to >>> install libstdc++(static version)? >> At the end "make install", not "make install-gcc" >> >> Andrew. >> >> >