A complete suite of GNU software tools including C, C++, Fortran, Java Cross Compilers, GDB/Insight Debugger Simulator, and additional hosted utilities for embedded ARM7, ARM9, and XScale CPU applications development.

2/11/2004

Tool Building, Bootstrap Cross Compiler GCC 3.3.2

posted by Michael Mitchell at 2/11/2004 12:05:00 PM

GCC is the GNU Compiler Collection, which currently contains front ends for C, C++, Objective-C, Fortran, Java, and Ada, as well as libraries for these languages (libstdc++, libgcj,...).

The following commands are issued to generate the target directory.

$ CFLAGS="-s -O3" export CFLAGS
$ PATH=/gnude/bin:$PATH export PATH
$ mkdir build-gcc; cd build-gcc; $ ../gcc-3.3.2/configure --target=arm-elf --prefix=/gnude --disable-shared --disable-nls --disable-win32-registry --enable-interwork --enable-multilib --enable-languages="c,c++" --with-headers=../newlib-1.12.0/newlib/libc/include/ --with-newlib; make all-gcc install-gcc; cd ..