[ECOS] how to build an eCos library for ARM7tdmi simulator
Tim Drury
tdrury@siliconmotorsports.com
Mon Sep 2 08:54:00 GMT 2002
Gary Thomas wrote:
> Did you follow the instructions? Try looking at the FAQ:
> http://sources.redhat.com/fom-serv/sid/cache/6.html
> This should work (it does for me).
Yes, I tried this. I invoke sid using:
/usr/local/sid/bin/arm-elf-sid --gdb=2000 -EL
then in another window I run my hello world app:
arm-elf-gdb a.out
which brings up insight. I connect to remote/tcp (localhost:2000)
and hit run. I get:
Loading section .rom_vectors, size 0x40 lma 0x2020000
in the gdb console, but no source appears in the main window and
no "hello world" appears anywhere.
a.out is created by compiling hello.c using the same makefile
I used to create it for my EB40A board running ecos/redboot.
Compiling it by:
arm-elf-gcc -EL hello.c -o hello.x
complains that -EL is an unrecognized option and it cannot find
stdio.h. This is a 2.95-2 build of gcc built using the cross
compile instructions in the ecos docs. I suppose I ought to
get this fixed before continuing with sid.
-tim
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list