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]

Cygwin->StrongARM cross-compile problem


I'm trying to build a toolchain in Win32 to do compilation and debugging on
an embedded system with a SA-1100 StrongArm on it.  I'm using binutils
2.11.2, gcc 3.0.4 (though I tried earlier with 3.0.3), and newlib 1.10.0.

Here's the process I'm following:

export CFLAGS="-O2 -march=i686"
export TARGET=strongarm-elf
export PREFIX="/usr"
../binutils-2.11.2/configure --prefix=${PREFIX} --target=${TARGET}
make CFLAGS="${CFLAGS}" all
make CFLAGS="${CFLAGS}" install
 ../gcc-3.0.4/configure --prefix=${PREFIX} --target=${TARGET}
--without-headers --with-newlib --enable-languages=c --disable-threads
make CFLAGS="${CFLAGS}" all
make CFLAGS="${CFLAGS}" install
mkdir ../build-newlib
cd ../build-newlib
../newlib-1.10.0/configure --prefix=${PREFIX} --target=${TARGET}
make CFLAGS="-O2" all
make CFLAGS="-O2" install
cd ../build
make clean
../gcc-3.0.4/configure --prefix=${PREFIX} --target=${TARGET} --with-newlib
make CFLAGS="${CFLAGS}" all


On this final step, the build terminates with the error:

checking for object suffix... configure: error: installation or
configuration problem; compiler does not work
make: *** [configure-target-libstdc++-v3] Error 1

Anyone have any ideas?

------
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]