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] |
Other format: | [Raw text] |
Hello, Sorry, this is a bit long, but I want to include all the relevant bits first time round ... We're trying to build gcc for powerpc-ibm-eabi (actually for a 440GX). I'm using crosstool-0.27/contrib/newlib/demo-newlib.sh: eval `cat powerpc-440.dat` `cat gcc-3.4.3-glibc-2.3.3.dat` sh all-newlib.sh --notest --nounpack and my .dat files are as follows: powerpc-440.dat: TARGET=powerpc-ibm-eabi TARGET_CFLAGS="-O" GCC_EXTRA_CONFIG="" GLIBC_EXTRA_CONFIG="--without-fp" gcc-3.4.3-glibc-2.3.3.dat: PREFIX=/cygdrive/c/crosstool2 BINUTILS_DIR=/cygdrive/c/gnu/binutils-2.15.94.0.2 GCC_DIR=/cygdrive/c/gnu/gcc-3.4.3 NEWLIB_DIR=/cygdrive/c/gnu/newlib-1.13.0 TARGET=powerpc-ibm-eabi TARGET_CFLAGS=-O It all goes well until the second pass of gcc (final gcc), whereupon it fails when configuring libstdc++-v3: configure: error: No support for this host/target combination. make: *** [configure-target-libstdc++-v3] Error 1 Looking at configure.log we have: $ /cygdrive/c/gnu/gcc-3.4.3/libstdc++-v3/configure --cache-file=./config.cache --host=powerpc-ibm-eabi --build=i686-host_pc-cygwin --enable-multilib --with-cross-host=i686-host_pc-cygwin --prefix=/cygdrive/c/crosstool2 --with-headers=/cygdrive/c/crosstool2/powerpc-ibm-eabi/include --disable-nls --enable-symvers=gnu --enable-languages=c,c++ --disable-shared --enable-c99 --enable-long-long --with-gcc-version-trigger=/cygdrive/c/gnu/gcc-3.4.3/gcc/version.c --program-transform-name=s,^,powerpc-ibm-eabi-,; --srcdir=/cygdrive/c/gnu/gcc-3.4.3/libstdc++-v3 --with-target-subdir=powerpc-ibm-eabi Why is libstdc++-v3 getting host=powerpc-ibm-eabi rather than i686-host_pc-cygwin ? Surely this is wrong, and I'm guessing its the source of my problems ?. Surely it shouldn't want the _cross_ compiler to build the library ? Thanks to anyone who can shed light on this! -- Matthew JONES http://www.tandbergtv.com/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |