How to configure GCC build for only C and C++
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Oct 10 13:54:16 UTC 2002
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 \
--enable-languages=c,c++,java,ada
> -- 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
More information about the users
mailing list