This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95,2 bug; can not create cross compiler
- To: dje at watson dot ibm dot com (David Edelsohn)
- Subject: Re: 2.95,2 bug; can not create cross compiler
- From: "Eric Schweitz" <schweitz at nortelnetworks dot com>
- Date: Thu, 18 Nov 1999 08:43:34 -0500 (EST)
- Cc: "Eric Schweitz" <schweitz at nortelnetworks dot com>, gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Reply-To: "Eric Schweitz" <schweitz at nortelnetworks dot com>
David Edelsohn wrote:
>
> >>>>> "Eric Schweitz" writes:
>
> Eric> When trying to create a cross-compiler for the PPC target using
> Eric> the 2.95.2 release, the build step falls on its own sword with
> Eric> the following messages:
>
> Eric> ./libgcc2.c:41: stdlib.h: No such file or directory
> Eric> ./libgcc2.c:42: unistd.h: No such file or directory
>
> You need to install the header files for the system targeted by
> the cross-compiler and point the bild process at them before building the
> cross-compiler.
David,
Yes. Sounds like a good theory. However, the target system in my
case isn't really a system. It's a board. The "native" compiler
has no file system or unix flavored headers at all.
BTW, the 2.8.1 version of the sources does not have this meltdown
problem. You can build the compiler without having these headers
in place.
--
Eric