public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* cross-compiler build: can't find stdio.h
@ 1998-09-22  9:45 John Breen
  1998-09-22 19:31 ` Bill Currie
  0 siblings, 1 reply; 5+ messages in thread
From: John Breen @ 1998-09-22  9:45 UTC (permalink / raw)
  To: egcs

I thought I'd seen this asked before, but I searched the FAQ and the 
archive titles three months back, and didn't see it.

I'm trying to build egcs-1.1a for m68k-elf (NOTE: since egcs doesn't 
currently support m68k-elf, I'm using my own hacked .h files, based on a 
patch from gcc-2.7.2.2; but I don't think that's the problem).  I 
finally started getting close, but now it's dying while building 
libiberty because it can't find stdio.h.

When I built gcc-2.7.2.2 m68k-elf, the "cygnus patch" had something 
about removing the need for stdio.h.  Doesn't egcs have something 
similar?  I do have the headers from the gcc-2.7.2.2 build (although on 
another system); should I copy them over and use --with-headers?  Or did 
I possibly do something wrong?

Thanks.
--
John A. Breen
jab3@hotmail.com


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: cross-compiler build: can't find stdio.h
@ 1998-09-22 14:12 Mike Stump
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Stump @ 1998-09-22 14:12 UTC (permalink / raw)
  To: egcs, jab3

> From: "John Breen" <jab3@hotmail.com>
> To: egcs@cygnus.com
> Date: Tue, 22 Sep 1998 08:51:45 PDT

> should I copy them over and use --with-headers?

You must always compile cross compilers with --with-headers, unless
you arrange for them some other way.  These header must have all the
headers that gcc needs, you can discover which ones it needs by trying
to build.

Yes, this is a FAQ, and yes, someone should document it, if it isn't.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: cross-compiler build: can't find stdio.h
@ 1998-09-23 12:43 John Breen
  1998-09-23 22:20 ` Bill Currie
  0 siblings, 1 reply; 5+ messages in thread
From: John Breen @ 1998-09-23 12:43 UTC (permalink / raw)
  To: egcs



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

end of thread, other threads:[~1998-09-23 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-22  9:45 cross-compiler build: can't find stdio.h John Breen
1998-09-22 19:31 ` Bill Currie
1998-09-22 14:12 Mike Stump
1998-09-23 12:43 John Breen
1998-09-23 22:20 ` Bill Currie

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).