This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 2.95,2 bug; can not create cross compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]