Hi,
I'm trying to build a cross-compiler from GCC 4.2.0 source. I've
built the binutils as cross tools and launched the configure script
for gcc source as follows:
[gcc-source]/configure --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --target=arm-elf --prefix=[toolchain-prefix]
--enable-interwork --enable-multilib --enable-languages="c,c++"
--with-newlib --with-headers=[newlib-source]/newlib/libc/include
When I try "make arm-gcc" I get the following error
make[1]: Entering directory
`/home/marongiu/Desktop/GCC-4.2.1/ARM/BUILD/GCC/gcc'
(SHLIB_LINK='' \
SHLIB_MULTILIB=''; \
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H
-I. -I. -I../../../gcc-4.2.0/gcc -I../../../gcc-4.2.0/gcc/.
-I../../../gcc-4.2.0/gcc/../include
-I../../../gcc-4.2.0/gcc/../libcpp/include
-I../../../gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber
-DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/home/marongiu/Desktop/GCC-4.2.1/ARM/LOCAL/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/home/marongiu/Desktop/GCC-4.2.1/ARM/LOCAL/libexec/g\
cc/\"
-DDEFAULT_TARGET_VERSION=\"4.2.0\"
-DDEFAULT_TARGET_MACHINE=\"arm-elf\"
-DSTANDARD_BINDIR_PREFIX=\"/home/marongiu/Desktop/GCC-4.2.1/ARM/LOCAL/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../../../gcc-4.2.0/gcc
-I../../../gcc-4.2.0/gcc/. -I../../../gcc-4.2.0/gcc/../include
-I../../../gcc-4.2.0/gcc/../libcpp/include
-I../../../gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber
../../../gcc-4.2.0/gcc/cp/g++spec.c)
/home/marongiu/Desktop/GCC-4.2.1/ARM/LOCAL/arm-elf/bin/as:
unrecognized option `-Qy'
make[1]: *** [g++spec.o] Error 1
make[1]: Leaving directory
`/home/marongiu/Desktop/GCC-4.2.1/ARM/BUILD/GCC/gcc'
make: *** [all-gcc] Error 2
It seems to be using the correct as (arm-elf-as) which anyhow doesn't support
the -Qy option.
I tried to remove it from the specs file but I get the same error.
Can anybody help me?
Thanks
Andrea
L'email della prossima generazione? Puoi averla con la nuova Yahoo!
Mail
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html