From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Igor Trevisan Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Errors while cross compiling for ARM Date: Tue, 07 Nov 2000 09:59:00 -0000 Message-id: <3A0842CB.C2BA40CC@cygnus.co.uk> References: <3A084694.28291.19B18B@localhost> X-SW-Source: 2000-11/msg00094.html 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