How to configure GCC build for only C and C++

Ralf Corsepius corsepiu at faw.uni-ulm.de
Wed Oct 9 20:42:09 UTC 2002


Am Mit, 2002-10-09 um 22.16 schrieb Steven Grunza:
> I seem to be getting f2c and all the other languages with the following 
> configuration:
> 
> ../gcc-3.2/configure --target=powerpc-rtems --with-gnu-as --with-gnu-ld 
> --with-newlib  --enable-threads --prefix=/opt/rtems


> What can I add to only compile for C and C++ ?
You might want to check how we build gcc for the toolchain rpm:

With a (for gcc-3.2: very) recent snapshot:

cd rtems-<version>/scripts
./configure
make

and then check how gcc is configured in
gcc3newlib/<target>-gcc-3.2-newlib-1.10.0.spec


Or if using an rpm-based Linux-distribution, more easier: Download one
of the *nosrc.rpms from ftp.oarcorp.com and build it yourself.

Or download the prebuild *rpms from ftp.oarcorp.com

Ralf






More information about the users mailing list