problem linking for arm-elf
Wed Jun 4 15:22:00 GMT 2003
Did you try to make a google search with your error message?
One of the links you would find is : http://crossgcc.billgatliff.com/crossgccfaq/x155.html
This is Bill Gatliff's excellent site on the subject along with the crossgcc FAQ.
I leave the other pointer to your discretion
> Hi everybody,
> I am having some problems linking for arm-elf.
> Everything goes ok when the program is simple and I don't include
> libraries like stdlib.h.
> I built the toolchein following the instructions on sources.redhat.com.
> I tried to compile without my ld script and it goes succeeds, but when I
> use my own ld and crt0 this is what happens:
> arm-elf-gcc -g -gdwarf -c -o crt0.o crt0.S
> arm-elf-gcc -g -c -gdwarf -o MyRSA.o MyRSA.c
> arm-elf-gcc -Wall -g -O0 -c -o mpi.o mpi.c
> arm-elf-gcc -nostartfiles -g crt0.o MyRSA.o mpi.o -Tarmebs_ldscript -o
> lls.o): In function `_sbrk':
> /home/nac/src/gcc-3.2.1/newlib/libc/sys/arm/syscalls.c:499: undefined
> reference to `end'
> collect2: ld returned 1 exit status
> make: *** [rsa.exe] Error 1
> Can anybody help me?
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc