This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Pass FLAGS_FOR_TARGET to subdirectories (was: Re: GCC_FOR_TARGET x linker scripts)
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 06 Nov 2002 16:15:52 -0200
- Subject: Re: Pass FLAGS_FOR_TARGET to subdirectories (was: Re: GCC_FOR_TARGET x linker scripts)
- Organization: GCC Team, Red Hat
- References: <orhefb1a1i.fsf@free.redhat.lsd.ic.unicamp.br><20021025041638.GB29075@nevyn.them.org><or8z0n1719.fsf@free.redhat.lsd.ic.unicamp.br><20021028203738.GA13849@nevyn.them.org>
On Oct 28, 2002, Daniel Jacobowitz <drow@mvista.com> wrote:
> Note that GCC_FOR_TARGET in gcc/Makefile.in includes "-isystem
> $(build_tooldir)/sys-include".
I suppose this is no longer necessary, now that we warn or bail out when we
can't find ${SYSTEM_HEADER_DIR}. We don't bail out when
SYSTEM_HEADER_DIR is ${gcc_tooldir}/sys-include, but we warn about the
problem, and `make install-gcc-tooldir' is the fix, so I think we can
lose this -isystem now.
> Here's what I came up with; what do you think?
I still find this a bit too magic. Passing it in the environment
sounds ``more right´´ to me.
--
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