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: PATCH to pre-select languages to be build


Jeffrey A Law <law@cygnus.com> writes:

>   In message <13842.2446.855496.247677@slsvhmt>you write:

>> My  argument concerning new compilers in   a new tarball still stands,
>> too.  The  average test user gets  a new egcs-x.y.tar.gz  file, untars
>> it, and calls his usual build script/comand, e.g.

> By default we should build all languages.  The user must explicitly specify
> that they do not want particular languages.  I think we've agreed on that.

IMO, all languages should be built by default.  If any
--enable-lang-<language> switch is found, only the specified languages
are build.  If any --disable-lang-<language> switch is found, but no
--enable-lang-<language> switch was issued, all languages but the
disabled ones should be built.  For example:

configure --enable-lang-java # builds only Java
configure --disable-lang-chill # builds all but chill
configure --enable-lang-cxx --disable-lang-java # only C++, disable is ignored
configure --enable-lang-cxx --disable-lang-cxx # builds nothing?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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