[U-Boot-Users] building u-boot 1.1.3 for PPChameleon

massoud sabzali massoudsabz at yahoo.com
Tue Mar 14 07:40:16 CET 2006


Hi Everybody,
   
  I'm trying to build the u-boot (version 1.1.3) for a PPC405 platform(PPChameleon board), but "make.exe" reports some error and warning messages like as are mentioned below. 
  I've got such erros both in the cygwin and RedHat environment .
  What is wrong with me?
  any comments would be appreciated.
   
  make[1]: Entering directory `/cygdrive/d/WIN_LINUX/u-boot/u-boot-1.1.3/examples'
  gcc -g  -Os   -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_
BASE=0xFFFC0000 -I/cygdrive/d/WIN_LINUX/u-boot/u-boot-1.1.3/include -fno-builtin
 -ffreestanding -nostdinc -isystem /usr/lib/gcc/i686-pc-cygwin/3.4.4/include -pi
pe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring -Wa,
-m405 -mcpu=405 -msoft-float -Wall -Wstrict-prototypes -c -o hello_world.o hello
_world.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
cc1: error: invalid option `eabi'
cc1: error: invalid option `string'
cc1: warning: unknown register name: r2
cc1: warning: unknown register name: r29
hello_world.c:1: warning: -fPIC ignored for target (all code is position indepen
dent)
hello_world.c:1: error: bad value (405) for -mtune= switch
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as: unrecognize
d option `-m405'
make[1]: *** [hello_world.o] Error 1
make[1]: Leaving directory `/cygdrive/d/WIN_LINUX/u-boot/u-boot-1.1.3/examples'

		
---------------------------------
Yahoo! Travel
 Find  great deals to the top 10 hottest destinations!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060313/427f7719/attachment.htm 


More information about the U-Boot mailing list