I am trying to build a GCC 2.95.3 cross compiler that runs on X86
and produces PowerPC output. I am building on an Intel Pentium II
running Red Hat 7.1 and have binutils 22.214.171.124.2 already compiled and
installed on a non standard path. I have a bldenv structure similar to
I also have GCC 2.96.81 and binutils 2.10.91.02-3 (came with RedHat)
installed locally on the build machine.
If someone has specific instructions that would be great, but I
would really like to understand the process of building a cross
The compiler seems to use a mixture of X86 bos headers and lib and
binutils first and then switches to using PowerPC bos headers and lib
and binutils. What controls where binutils and bos headers and libs come
from. I have tried many combinations of setting the PATH variables,
--with-headers , --with-libs, --with-as, and --with-ld config options. I
have also copied PowerPC headers and libs and binutils into
ggc_install_dir/powerpc-ibm-linux/bin or lib or include sub
directories. All of this allows me to build only so far and then it
either finds the wrong tool or can't find some lib or header.
Any help would be greatly appreciated.