[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i386->powerpc cross compiler

On Mon, Apr 10, 2000 at 04:00:08PM +0200, Patrick Lerda wrote:
> I've generated a powerpc gcc 2.95.2 crosscompiler on an i386 platform
> without any problems.
> And I use binutils-
> try:
> #!/bin/sh
> CFLAGS=-O6 CXXFLAGS=-O6 /usr/src/gcc-2.95.2/configure --prefix=/usr \
> --host=i586-unknown-linux --build=i586-unknown-linux \
> --target=powerpc-unknown-linux \
> --with-cpu=603e \
> --with-headers="/usr/powerpc-unknown-linux/include" \
> --with-libs="/usr/powerpc-unknown-linux/lib"

What is the story with these two bits?  I am having trouble because
it's not finding:

./libgcc2.c:41: stdlib.h: No such file or directory
./libgcc2.c:42: unistd.h: No such file or directory

which seems odd.  

David N. Welton, Responsabile Progetti Open Source, Linuxcare Italia spa
tel +39.049.8043411 fax +39.049.8043412 cel +39.348.2879508
davidw@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.

Reply to: