This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Errors while cross compiling for ARM
- To: Igor Trevisan <igor at bluewind dot it>
- Subject: Re: [ECOS] Errors while cross compiling for ARM
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Tue, 07 Nov 2000 17:58:35 +0000
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <3A084694.28291.19B18B@localhost>
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