This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Jun 05, 2008 at 03:12:58PM +0100, Bart Veer wrote:>>>>> "Robert" == Robert Brusa <bob.brusa@gmail.com> writes:
> arm-elf-gcc -g -nostartfiles -Wl,--gc-sections > -T"../at91lib/boards/at91sam7x-ek/at91sam7x256/flash.lds" -o > bin/My5-at91sam7x256-flash.elf obj/board_cstartup.o obj/main.o > obj/stdio.o obj/dbgu.o obj/pio.o obj/board_memories.o > obj/board_lowlevel.o
You are using the wrong argument to arm-elf-gcc: you should use -nostdlib, not -nostartfiles. In the absence of -nostdlib the linker will try to use the standard newlib C library instead of eCos, and that library has been stripped from the eCos toolchain build to reduce the download size. You also appear to be using a non-eCos linker script, which will also cause problems. Please read the eCos User's Guide to find out how applications should be linked with eCos.
Hi Bart
He is not using eCos, just the eCos toolchain. I'm guessing he wanted a prebuild ARM toolchain and stumbled upon the eCos one and tried to use it for his application.
Andrew
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |