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

Wulf Hofbauer wh73 at cornell.edu
Wed Oct 9 20:59:49 UTC 2002


On Wed, Oct 09, 2002 at 04:16:06PM -0400, Steven Grunza wrote:
> ../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++ ?

With a standard gcc, you can add "--enable-language=c,c++" to the
configure command. This is documented, along with other
configuration options, in gcc-3.2/INSTALL/configure.html.

- Wulf




More information about the users mailing list