Skip to contentSkip to conversation

problem of u-boot make

U-Boot-Users yanzhijun 2 participants 2 messages Aug 29, 2003

lore
Share & tools
lore

yanzhijun

author
#0 lore raw

hi,can you see where is the problem?
my compiled environment is red hat linux ,and i have installed a arm cross compiler in my machine ,and export $PATH.But now when i want to compile u-boot with cpu arm ,it troubled me .first i do like this :
#make lubbock_config
then:
#make
here are some of the informations :
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/yzj/u-boot-0.4.0/post/cpu'
make[1]: Entering directory `/home/yzj/u-boot-0.4.0/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/yzj/u-boot-0.4.0/examples'
make[1]: Entering directory `/home/yzj/u-boot-0.4.0/tools'
gcc -Wall -pedantic -I../include -I.. -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
/tmp/cc1TzDSI.s: Assembler messages:
/tmp/cc1TzDSI.s:390: Warning: Bad .section directive: want a,w,x in string
/tmp/cc1TzDSI.s:390: Error: Rest of line ignored. First ignored character is `M'.
/tmp/cc1TzDSI.s:762: Warning: Bad .section directive: want a,w,x in string
/tmp/cc1TzDSI.s:762: Error: Rest of line ignored. First ignored character is `M'.
make[1]: *** [img2srec.o] Error 1
make[1]: Leaving directory `/home/yzj/u-boot-0.4.0/tools'
make: *** [subdirs] Error 1

I don`t know what is the problem. I want to compile with arm-linux-gcc ,while it shows gcc ? can anyone tell me ? thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030829/8cff6c7f/attachment.htm

#1 lore raw

HI,

Quoted 8 lines

hi,can you see where is the problem?
`/home/yzj/u-boot-0.4.0/tools'
gcc -Wall -pedantic -I../include -I..
-DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c -o

I don`t know what is the problem. I want to compile with arm-linux-gcc ,while it shows gcc ? can anyone tell me ?

The tool directory contains utility programs to execute on the native system. So there are compiled with local compiler i.e. gcc

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com