How to remove the option -Qy to as
\ Andrea Marongiu (30 Aug 2007)
. \ Jim Wilson (31 Aug 2007)

1 msggcc-4.2-20070829 is now available
4 msgBug or feature? C++ code that no longer compile...
7 msgStage 2 project: upgrade decNumber
3 msgsync_fetch_and_add creating unrecognizable insn
1 msgAnnounce: MPFR 2.3.0 is released
2 msgRe: r127885 - in /trunk: ChangeLog config.sub
9 msgICE in langhooks.c on SPU
14 msgquestion about rtl loop-iv analysis
2 msgGcc error - configure: error: C compiler cannot...
5 msganother build failure on ppc64-linux
1 msggcc-4.1-20070827 is now available
4 msguse of ifndef inhibit_libc to disable the conte...
3 msgBuild failure on ppc64
1 msg[tuples] Merged with mainline
2 msgIssues with the constification patches
5 msgPING SC members [was RE: RFA: GCC 4.2.1: Stabal...
3 msgBootstrap failure with --enable-checking=all,rtl
1 msg[possible BUG] gcc's vcg creation code (-dv flag)
1 msgva_ref
Subject:How to remove the option -Qy to as
Group:Gcc
From:Andrea Marongiu
Date:30 Aug 2007


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


© 2004-2008 readlist.com