Skip to contentSkip to conversation

error: arm-linux-gcc:unrecognized option` -MQ'

U-Boot-Users 李亮 2 participants 2 messages Dec 3, 2006

lore
Share & tools
lore

李亮

author
#0 lore raw

Hi All,
I have downloaded u-boot latest version 1.1.6 from the sourceforge.net I have installed cross compiler for arm.
my board and cross compiler :
board: sbc2410x
cross compiler: 2.95.3
cpu: arm920t
pc enviroment :red hat 9
u-boot: 1.1.6
1).i set the enviroment variable
#vi /etc/profile

    --------/usr/local/arm/2.95.3/bin 

2).I am using following procedure to compile:*
make sbc2410x_config
make all

3).I am getting an error indicates that *"arm-linux-gcc: unrecognized <BR>option `-MQ'"* the discrete information is the following :
~skip~
~skip~
*make[1]: Leaving directory `/home/hcac/u-boot-1.1.6/post/cpu'
make -C cpu/arm920t start.o
make[1]: Entering directory `/home/hcac/u-boot-1.1.6/cpu/arm920t'
arm-linux-gcc: start.o: No such file or directory
arm-linux-gcc: unrecognized option `-MQ'
arm-linux-gcc: cpu.o: No such file or directory
arm-linux-gcc: unrecognized option `-MQ'
arm-linux-gcc: interrupts.o: No such file or directory
arm-linux-gcc: unrecognized option `-MQ'
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/home/hcac/u-boot-1.1.6/cpu/arm920t'
make: *** [cpu/arm920t/start.o] Error 2*
*
Thanks
liliang
-------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20061203/248a51d1/attachment.htm

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

my board and cross compiler :
board: sbc2410x
cross compiler: 2.95.3

...too old. Please use a more recent toolchain.

Quoted 4 lines

Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<DIV >Hi All,<BR>I have downloaded u-boot latest version 1.1.6 from the s=

And NEVER post HTML here!

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Bus error -- please leave by the rear door.