This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

how to only configure and build C in GCC 3.0?


>From gcc-3.0/INSTALL/configure.html

   --enable-languages=lang1,lang2,...
           Specify that only a particular subset of compilers and their
           runtime libraries should be built. For a list of valid values for
           langN you can issue the following command in the gcc directory of
           your GCC source tree:
           grep language= */config-lang.in

However with "--enable-languages=c" `make cross' still attempts to build
c++:

gcc -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o tradcpp0 \
tradcpp.o tradcif.o mkdeps.o cppdefault.o version.o intl.o obstack.o
./intl/libintl.a      ../libiberty/libiberty.a
gmake[1]: *** No rule to make target `c++', needed by `native'.  Stop.
gmake[1]: Leaving directory `/tmp/gcc-3.0/o/gcc'
gmake: *** [cross] Error 2

-- 
-- David  (obrien@FreeBSD.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]