This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch] Split config.build out from config.gcc


On Aug 29, 2003, Nathanael Nerode <neroden@twcny.rr.com> wrote:

> I intend to keep 'one big case' for the host file.  It seemed
> preferable for the build file to sort differently given that
> theoretically everything in the build file should be
> autoconf-detectable.

Actually, it's the host that is auto-detectable.  Remember that
configure uses CC all the time, and CC is the compiler for the host.
Tests not involving compilers, though, can indeed detect properties of
the build machine.

As for detecting properties of the build machine, my evil plan :-)
would be to create a separate configure script that would be passed
--host=$build_alias CC=$CC_FOR_BUILD, and that would generate whatever
build-specific config fragments we need in the GCC build.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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