U-BOOT build problem

On March 11, 2004, someone posted a question about u-boot.

An excerpt follows.

-------------------------------------------------------------- ppc_8xx-gcc -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x40000

000 -I/opt/u-boot-1.0.2/include -fno-builtin -ffreestanding -nostdinc -isyst em /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe -DCONFIG_PPC

-D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft- float -Wall -Wstrict-prototypes -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x40000000 -I/opt/u-boot-1.0.2/include -fno-builtin -ffreestand ing -nostdinc

-isystem /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe -DCONFIG_PPC

-D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft- float -I.. -Bstatic -T /opt/u-boot-1.0.2/board/tqm8xx/u-boot.lds -Ttext

0x40000000 -n hello_world.c -o hello_world

ppc_8xx-gcc: 0x40000000: No such file or directory

--------------------------------------------------------------

I had a similar problem (in u-boot-1.1.0). I'm still not sure what causes it, but if I edit the Makfile in the examples directory the problem goes away.

at line 125....

%: %.o $(LIB) echo $(EX_LDFLAGS) echo "" $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \ -o $@ -e $(

Reply to
George Varndell
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.