Closed GoogleCodeExporter closed 8 years ago
What steps will reproduce the problem? 1. cd cyanide_bootramdisk 2. make What is the expected output? What do you see instead? expected: clean make get: ld error --- arm-elf-gcc -o payload.elf entry.o main.o commands.o patch.o -Ttext=0x42F00000 -nostdlib -lc -lm -lgcc /opt/local/lib/gcc/arm-elf/4.6.0/../../../../arm-elf/bin/ld: cannot open linker script file text=0x42F00000: No such file or directory collect2: ld returned 1 exit status make: *** [payload.elf] Error 1 --- What version of the product are you using? On what operating system? MacOS Snow Leopard arm-elf-binutils @2.21.51.0.9 cross/arm-elf-binutils arm-elf-gcc @4.6.0 cross/arm-elf-gcc Please provide any additional information below. fix: change Makefile --- Makefile-org 2011-05-31 12:19:53.000000000 +0200 +++ Makefile 2011-05-31 12:20:12.000000000 +0200 @@ -6,7 +6,7 @@ OBJCOPY = $(CROSS)objcopy OBJECTS = entry.o main.o commands.o patch.o CFLAGS = -I./$(SRC)/include -nostdlib -mlittle-endian -LDFLAGS = -Ttext=$(LOADADDR) -nostdlib -lc -lm -lgcc +LDFLAGS = -Ttext $(LOADADDR) -nostdlib -lc -lm -lgcc This gives: $ make arm-elf-gcc -o payload.elf entry.o main.o commands.o patch.o -Ttext 0x42F00000 -nostdlib -lc -lm -lgcc arm-elf-objcopy -O binary payload.elf payload xxd -i payload > payload.h
Original issue reported on code.google.com by jueschm...@gmail.com on 6 Jun 2011 at 2:46
jueschm...@gmail.com
Thanks, fixed
Original comment by jean.sig...@gmail.com on 7 Jun 2011 at 11:37
jean.sig...@gmail.com
Original issue reported on code.google.com by
jueschm...@gmail.com
on 6 Jun 2011 at 2:46