public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Errors while cross compiling for ARM
@ 2000-11-07  9:32 Igor Trevisan
  2000-11-07  9:59 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Trevisan @ 2000-11-07  9:32 UTC (permalink / raw)
  To: ecos-discuss

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?

Thanks in advance to everyone that will help me.

	Igor.
---------------------------------------------------------
BlueWind                Electronic Design
I-31033 Castelfranco Veneto (TREVISO)
Via Steffani 7/B
---------------------------------------------------------
VOICE   +39 0 423 723431
FAX     +39 0 423 744738
MOBILE  +39 349 7787328

mailto:igor@bluewind.it
http://www.bluewind.it
-----------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Errors while cross compiling for ARM
  2000-11-07  9:32 [ECOS] Errors while cross compiling for ARM Igor Trevisan
@ 2000-11-07  9:59 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-11-07  9:59 UTC (permalink / raw)
  To: Igor Trevisan; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-07  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-07  9:32 [ECOS] Errors while cross compiling for ARM Igor Trevisan
2000-11-07  9:59 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).