Compiling GCC 2.95.1 for ARM7 Cross Compiler

sudhakaran.ram@portalplayer.com sudhakaran.ram@portalplayer.com
Wed Oct 6 09:28:00 GMT 1999


Hi,
    I am trying to generate the Cros Compiler for ARM 7on a Solaris 2.7
platform.
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:
...
    export TARGET_MACHINE srcdir INSTALL_ASSERT_H SHELL ; \
/bin/sh ./fixinc.sh `pwd`/include
/portal/apps3/gnu_compiler/build/arm-coff/sys-include
Fixing headers into /portal/apps3/gnu_compiler/build_gcc/gcc/include for

arm-unknown-coff target
./fixinc.sh: /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:


----------------------------------------

Thanks,

 -Sudhakar




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



More information about the crossgcc mailing list