[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to configure GCC build for only C and C++
- Date: Thu, 10 Oct 2002 08:54:16 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: How to configure GCC build for only C and C++
Till Straumann wrote:
> 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...
This is the configure command that was used by the RPM spec
the last time I attempted to build RPMs. Note that I
was trying to enable Java.
../gcc-3.2/configure --target=powerpc-rtems --with-gnu-as \
--with-gnu-ld --with-newlib --verbose --with-system-zlib \
--disable-nls --enable-version-specific-runtime-libs \
--enable-threads=rtems --prefix=/opt/rtems \
> -- Till
> >configure command. This is documented, along with other
> >configuration options, in gcc-3.2/INSTALL/configure.html.
> >- Wulf
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985