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]

Successful Compilation Of crossGCC For Arm


Hi David,

Thanks for your help.

I have done the following all over again, and
successfully compiled the crossGCC for Arm:

1. download the tar.gz version of GCC source version 2.95.2 in /src/gcc
2. cd /src/gcc
3. gunzip -vf <source>.tar.gz
4. tar -xvf <source>.tar
5. download gcc patch <ecos-gcc-2952.pat> to support eCos from
     http://sources.redhat.com/ecos/tools/win-arm-elf.html to /src/gcc/gcc-2.95.2
6. cd /src/gcc/gcc-2.95.2
7. tr -d '\r' < ecos-gcc-2952.pat | patch -p0
8. mkdir /tmp/build/gcc
9. cd /tmp/build/gcc
10. mkdir /gcc-src
11. mount -s -t 'C:\<cygpath>\<srcdir>' /gcc-src
12. /gcc-src/configure --target=arm-elf --prefix=/<installdir>
      --exec-prefix=/<execdir> -v 2>&1 | tee configure.out
13. make -w all-gcc install-gcc LANGUAGES="c c" 2>&1 | tee make.out


Hopefully this will be of some help to others.

Thanks and regards,
Yeong


------
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]