Hi, I'm trying to build a cross-development system and I'm 99% successful. My host is a standard Linux PC, target is a PDA (arm-wince-pe).
Versions of all tools are below. I can build a cross-gcc as long as I tell it to support only C. When trying to get C++ compiled as well, I always end up getting the error message below. I've tried patching gas because I had the feeling that gcc is producing an option that gas doesn't support any more, but somehow I couldn't get that to work. Is this a gcc bug ? Danny gmake \ CFLAGS="-g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -fno-common " \ CONFIG_H="config.h auto-host.h /home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/../include/ansidecl.h" \ MAKEOVERRIDES= \ -f libgcc.mk all gmake[1]: Entering directory `/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/build/i686-pc-linux-gnu/arm-wince-pe/gcc/gcc' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/build/i686-pc-linux-gnu/arm-wince-pe/gcc/gcc' echo timestamp > stmp-multilib (SHLIB_LINK='' \ SHLIB_MULTILIB=''; \ /tmp/gcc-4/bin/gcc -c -g -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/. -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/../include -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/../libcpp/include -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/ppc/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/ppc/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"4.1.0\" -DDEFAULT_TARGET_MACHINE=\"arm-wince-pe\" -DSTANDARD_BINDIR_PREFIX=\"/usr/ppc/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -I. -I. -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/. -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/../include -I/home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/../libcpp/include /home/danny/src/cegcc/svn.berlios.de/cegcc/branches/linux-build/src/gcc/gcc/cp/g++spec.c) /usr/ppc/bin/arm-wince-pe-as: unrecognized option `-Qy' gmake: *** [g++spec.o] Error 1 Versions : - gcc 4.1.0 from ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.0 gcc-core-4.1.0.tar.bz2 gcc-g++-4.1.0.tar.bz2 - newlib 1.14.0 ftp://sources.redhat.com/pub/newlib/index.html ftp://sources.redhat.com/pub/newlib/newlib-1.14.0.tar.gz - gdb 6.4 ftp://ftp.gnu.org/pub/gnu/gdb/gdb-6.4.tar.bz2 - binutils from cvs, 16 May 2006 We are using this version because there is no recent released version of binutils that works for arm-wince-pe target. cvs -d :pserver:[EMAIL PROTECTED]:/cvs/src ... - w32api 3.7 http://prdownloads.sourceforge.net/mingw/w32api-3.7-src.tar.gz?download -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part