970922 problems building cross-compiler
Paul Koning
pkoning@xedia.com
Fri Sep 26 10:43:00 GMT 1997
I tried building on sparc-solaris for mips64-elf. Did a configure
then a "make cross". Result is the failure below. I thought it might
be pilot error so I nuked the build directory and restarted from
scratch... same result.
paul
make[4]: Entering directory `/usr/pkoning/egcs-mips/gcc'
.....
rm -f stmp-f2c.h
top=`pwd`; \
src=`cd ../../egcs-970922/gcc; pwd`; \
cd f/runtime; \
CC="`case '/usr/pkoning/egcs-mips/gcc/xgcc -B/usr/pkoning/egcs-mips/gcc/' in \
'./xgcc -B./') echo ${top}/xgcc -B${top}/;; \
*) echo '/usr/pkoning/egcs-mips/gcc/xgcc -B/usr/pkoning/egcs-mips/gcc/';; esac`" \
CROSS="-DCROSS_COMPILE" AR_FLAGS="rc" AR_FOR_TARGET="mips64-elf-ar" BISON="bison" BISONFLAGS="" CC="gcc" CFLAGS="-g -O2" X_CFLAGS="-DSVR4" LDFLAGS="" LEX="flex" LEXFLAGS="" MAKEINFO="/usr/pkoning/egcs-mips/texinfo/makeinfo/makeinfo " MAKEINFOFLAGS="" RANLIB_FOR_TARGET="mips64-elf-ranlib" RANLIB_TEST_FOR_TARGET="[ -f /usr/local/egcs/mips64-elf/bin/ranlib ]" SHELL="/bin/sh" exec_prefix="/usr/local/egcs" prefix="/usr/local/egcs" tooldir="/usr/local/egcs/mips64-elf" bindir="/usr/local/egcs/bin" libsubdir="/usr/local/egcs/lib/gcc-lib/mips64-elf/egcs-2.90.09" CONFIG_SITE=/dev/null /bin/sh \
${src}/f/runtime/configure --srcdir=${src}/f/runtime
loading site script /dev/null
creating cache ./config.cache
checking for gcc... /usr/pkoning/egcs-mips/gcc/xgcc -B/usr/pkoning/egcs-mips/gcc/
checking whether the C compiler (/usr/pkoning/egcs-mips/gcc/xgcc -B/usr/pkoning/egcs-mips/gcc/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make[1]: *** [stmp-f2c.h] Error 1
make[1]: Leaving directory `/usr/pkoning/egcs-mips/gcc'
make: *** [cross] Error 2
More information about the Gcc-bugs
mailing list