This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Everything goes well until it tries to build libiberty. It runs configure and then I get this error that it compiler cannot create executables. Here is the whole output: Configuring in sparc-sun-solaris2.5.1/libiberty loading cache ./config.cache checking host system type... sparc-sun-solaris2.5.1 checking build system type... i686-pc-linux-gnu checking for sparc-sun-solaris2.5.1-ar... sparc-sun-solaris2.5.1-ar checking for sparc-sun-solaris2.5.1-ranlib... sparc-sun-solaris2.5.1-ranlib checking for gcc... /home/oscar/tmp/build-gcc/gcc/xgcc -B/home/oscar/tmp/build-gcc/gcc/ -B/home/oscar/spark//sparc-sun-solaris2.5.1/bin/ checking whether we are using GNU C... yes checking whether /home/oscar/tmp/build-gcc/gcc/xgcc -B/home/oscar/tmp/build-gcc/gcc/ -B/home/oscar/spark//sparc-sun-solaris2.5.1/bin/ accepts -g... yes checking for POSIXized ISC... no checking for a BSD compatible install... /usr//bin/install -c xhost-mkfrag is unchanged checking how to run the C preprocessor... /lib/cpp checking for sys/file.h... yes checking for sys/param.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h that is POSIX.1 compatible... no checking whether the C compiler (/home/oscar/tmp/build-gcc/gcc/xgcc -B/home/oscar/tmp/build-gcc/gcc/ -B/home/oscar/spark//sparc-sun-solaris2.5.1/bin/ -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make[1]: Entering directory `/home/oscar/tmp/build-gcc/sparc-sun-solaris2.5.1/libio' rootme=`pwd`/ ; export rootme; \ CC="/home/oscar/tmp/build-gcc/gcc/xgcc -B/home/oscar/tmp/build-gcc/gcc/ -B/home/oscar/spark//sparc-sun-solaris2.5.1/bin/ -I. -I../../../gcc-2.95.2/libio"; export CC; \ CXX="/home/oscar/tmp/build-gcc/gcc/xgcc -B/home/oscar/tmp/build-gcc/gcc/ -B/home/oscar/spark//sparc-sun-solaris2.5.1/bin/ -I. -I../../../gcc-2.95.2/libio -nostdinc++ -nostdinc++ -g -O2 -I/usr/include"; export CXX; \ CONFIG_NM="sparc-sun-solaris2.5.1-nm"; export CONFIG_NM; \ /bin/sh ../../../gcc-2.95.2/libio/gen-params LIB_VERSION=2.8.0 >tmp-params.h ../../../gcc-2.95.2/libio/gen-params: sparc-sun-solaris2.5.1-nm: command not found ../../../gcc-2.95.2/libio/gen-params: sparc-sun-solaris2.5.1-nm: command not found sparc-sun-solaris2.5.1-nm failed to find FUNC in dummy.o! make[1]: *** [_G_config.h] Error 255 make[1]: Leaving directory `/home/oscar/tmp/build-gcc/sparc-sun-solaris2.5.1/libio' make: *** [all-target-libio] Error 2 It has given me another error previously that it couldn't find some include files, so I edited manually the Makefile and inserted in the include variable the path /usr/include (Note that this include files are from linux. Does it matter?) Please help me. It is the first time I try to build a cross compiler. I have build gcc for my system (linux) correctly before... Thanks in advance! ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |