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]

Re: LANGUAGES vs --enable-languages (was: Testsuite documentation)


On Monday, 4 December 2000, 17:53:34 -0800, obrien@FreeBSD.org wrote:

> On Mon, Dec 04, 2000 at 05:42:47PM -0800, Tim Prince wrote:
> > C is implied; it is built with any combination of  languages specified,
> > or none, or with LANGUAGES=C.
> 
> Yes I know C is implied.  You really didn't answer the question.
> 
> >From http://gcc.gnu.org/install/configure.html, one sees:
> 
>     If you do not pass this flag, all languages available in the gcc
>     sub-tree will be configured. Re-defining LANGUAGES when calling make
>     bootstrap *does not* work anymore those language sub-directories
>     might not have been configured! 
> 
> So given a checked out egcs/ tree, how to build only the C compiler?
> --enable-languages="" didn't work last time I tried it[*].  Nor was
> --enable-languages="c" supported.

Why? I just configured a check-out from today using `--enable-languages=c'
and configure left this in gcc/Makefile without any complaint:

  # Selection of languages to be made.
  # This is overridden by configure.
  CONFIG_LANGUAGES = 
  LANGUAGES = c gcov$(exeext) $(CONFIG_LANGUAGES)

This would mean, just c and gcov will be built.

Cheers, manfred.

> 
> [*] I'd re-check, but the tree isn't bootstrap'able for me right now.
> -- 
> -- David  (obrien@FreeBSD.org)

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