[ECOS] Errors while cross compiling for ARM
Jonathan Larmour
jlarmour@cygnus.co.uk
Tue Nov 7 09:59:00 GMT 2000
Igor Trevisan wrote:
>
> Hi.
>
> I built an ARM-Thumb development tool for Linux following step
> by step all the instructions I found in the page:
> "Building the thumb-elf development tools for Linux",
> but if I try to cross-compile a simple "hello.c" file I don't succeed
> because of the fact that my arm-gcc doesn't find any include file;
> in the present case it consider stdio.h as "not existent".
> What can I do to avoid this problem?
If you're using it with eCos, you have to build the eCos library and header
files. You then have to pass compiler flags to point it at these
headers/libraries. Follow the Getting Started manual for a guide.
If you're trying to use these tools for systems other than eCos then you
probably want to build newlib. Have a look at the crossgcc list for info
about that ( http://sources.redhat.com/ml/crossgcc )
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
More information about the Ecos-discuss
mailing list