This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
StrongARM newlib & crt0.o
- To: newlib mailing list <newlib at sourceware dot cygnus dot com>
- Subject: StrongARM newlib & crt0.o
- From: David J Croyle <dcroyle at telerama dot com>
- Date: Mon, 05 Jun 2000 09:43:21 -0500
- References: <39356B50.131A63F@telerama.com>
Hello again.
After including -lgcc in our Makefile lines, we only
recieve an error message about crt0.o(error message is below).
Any more suggestions?
Thanks so much!!
Dave & Vasant.
We get:
crt0.o(.text+0xd4): undefined reference to `__bss_start__'
crt0.o(.text+0xd8): undefined reference to `__bss_end__'
collect2: ld returned 1 exit status
make: *** [testprogram] Error 1
Our makefile is again:
CFLAGS = -g -Wall -Wa,-a=$*.lst
testprogram: helloworld.o
arm-elf-gcc $(CFLAGS) -otestprogram crt0.o helloworld.o \
-Wl,-Map=testprogram.map --cref
-L/usr/local/home/vram/strongarm_embedded/newlib_test \
-nostartfiles -nodefaultlibs -nostdlib -lc -nostartfiles -lgcc
helloworld.o : helloworld.c
arm-elf-gcc $(CFLAGS) -c -O helloworld.c -lgcc
clean:
rm -f helloworld.o testprogram.o *.lst *.map
rm -f testprogram