Compiling GCC 2.95.1 for ARM7 Cross Compiler
Wed Oct 6 09:28:00 GMT 1999

    I am trying to generate the Cros Compiler for ARM 7on a Solaris 2.7
For all the compiles below I use gcc 2.8.1 and gnu make

1)  I have successfully compiled binutils-2.9.1 using the following

    cd build_gcc/
    ../biutils-2.9.1/configure --target=arm-coff
--prefix=/gnu_compiler/build -v
    make all install

2) I tried to compile gcc-2.95.1 using the following instructions

    d ../build-gcc
../gcc-2.8.1/configure --target=arm-coff --prefix=/gnu_compiler/build -v

make all install

 I  get the followin error during compile:
/bin/sh ./ `pwd`/include
Fixing headers into /portal/apps3/gnu_compiler/build_gcc/gcc/include for

arm-unknown-coff target
./ /portal/apps3/gnu_compiler/build/arm-coff/sys-include: does

not exist
make[1]: *** [stmp-fixinc] Error 1
make[1]: Leaving directory `/portal/apps3/gnu_compiler/build_gcc/gcc'
make: *** [all-gcc] Error 2

Can you help me resolve this?

I tried to follow instruction in CrossGCC FAQ for gcc-2.8.1. However
when applying the patch I got the following problem:

When I apply the patch  crossgcc-gcc-2.8.1.patch  to gcc-2.8.1
      patch -p1 <../crossgcc-gcc-2.8.1.patch

     and got the following message:

      Looks like a new-style context diff.
      File to patch:




Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list