This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: makefile cleanups wrt unified tree
- To: "Laurynas Biveinis" <lauras at softhome dot net>
- Subject: Re: RFC: makefile cleanups wrt unified tree
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 16 Mar 2001 03:57:54 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010309223953.A6395@lauras.lt>
On Mar 9, 2001, "Laurynas Biveinis" <lauras@softhome.net> wrote:
> To cleanup gcc/Makefile a bit, I've written a couple of autoconf
> macros to detect tools not only in path, but in the unified source
> tree too. Currently I use them to set all *_FOR_TARGET variables in
> gcc/Makefile, however I think they could help to autoconfiscate top
> level directory in the long run.
Unless the top-level uses the very same strategy, it's a bit risky to
change the GCC Makefile, because these make variables are overridden
by the top-level Makefile, so it would be bad to have configure detect
certain properties of one program, and the top-level Makefile telling
gcc/Makefile to use a different program.
Other than that, I like your patch.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me