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

Ralf Corsepius corsepiu at
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

and then check how gcc is configured in

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

Or download the prebuild *rpms from


More information about the users mailing list