How to configure GCC build for only C and C++
Till Straumann
strauman at SLAC.Stanford.EDU
Thu Oct 10 00:12:22 UTC 2002
Wulf Hofbauer wrote:
>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
>
Wasn't that --enable-languages=c,c++ [note the 's']? AFAIK,
unrecognized configure options are ignored, so these details
are important...
-- Till
>
>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