--enable-languages=c is valid

Phil Edwards pedwards@disaster.jaj.com
Thu Jun 21 12:01:00 GMT 2001


On Wed, Jun 20, 2001 at 09:44:45AM -0400, karl@gnu.org wrote:
> In gcc 3.0 (and previous versions), configure.html says
> 
>     Currently, you can use any of the following:
>     <code>c++</code>, <code>f77</code>, <code>java</code> and <code>objc</code>. 
> 
> This list leaves out one important language: c :).
> It's useful in the case where the installer only wishes to build and
> install C, for whatever reason.

Fair enough.  :-)  Installed as obvious, mainline only.


2001-06-21  Phil Edwards  <pme@sources.redhat.com>

	* doc/install.texi:  Add 'c' to list of --enable-languages choices.


Index: doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.31
diff -u -3 -p -r1.31 install.texi
--- install.texi	2001/06/21 15:25:54	1.31
+++ install.texi	2001/06/21 18:59:08
@@ -546,7 +546,7 @@ their runtime libraries should be built.
 @var{langN} you can issue the following command in the
 @file{gcc} directory of your GCC source tree:@* @samp{grep language=
 */config-lang.in}@* Currently, you can use any of the following:
-@code{c++}, @code{f77}, @code{java} and @code{objc}.
+@code{c}, @code{c++}, @code{f77}, @code{java} and @code{objc}.
 @code{CHILL} is not currently maintained, and will almost
 certainly fail to compile.  Note that this switch does not work with
 EGCS 1.1.2 or older versions of egcs.  It is supported in GCC 2.95



More information about the Gcc-bugs mailing list