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

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!

In message 20060314064016.42017.qmail@web52708.mail.yahoo.com you wrote:
I'm trying to build the u-boot (version 1.1.3) for a PPC405 platform(PPChameleon board),
Why are you using old code and not the current version?
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?
It seems you did not read the documentation (or ignored it).
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_
This does not look like a cross compiler to me. Did you really set CROSS_COMPILE as needed?
--0-1962479413-1142318416=:41139 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
And please never post HTML here!!!
Best regards,
Wolfgang Denk
participants (2)
-
massoud sabzali
-
Wolfgang Denk