This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

x86 redhat ppc-32-elf gcc build failure


hi all:
  who have onced compiled the cross compiler for ppc860 target in redhat?
i am using x86 redhat linux 6.2,and want to build a cross compiler for ppc860
target.
i use the gcc2.95..with the command following the sample:

target=powerpc-32-elf
prefix=/bar
i=$prefix/bin

mkdir build-binutils build-gcc build-newlib build-gdb

# Configure, build and install binutils
 cd build-binutils
../binutils-2.9.1/configure --target=$target --prefix=$prefix -v
make all install

# Configure, build and install gcc
cd ../build-gcc
../gcc-2.8.1/configure --target=$target --prefix=$prefix -v
make all install

but the problem come out now.
it shows that it can't find some include file like stdio.h .:
.
but it have not such problem when i compile a native gcc.what is wrong?
do it need anything else to download to the gcc source code directory to let it
work for cross compiler?
gary



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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