This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Two build != host fixes
- From: Alan Modra <amodra at gmail dot com>
- To: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, DJ Delorie <dj at redhat dot com>, Eric Botcazou <ebotcazou at adacore dot com>
- Date: Fri, 20 Dec 2013 07:57:02 +1030
- Subject: Re: Two build != host fixes
- Authentication-results: sourceware.org; auth=none
- References: <DUB122-W49C1420F5ADBBBFF956A3EE4DD0 at phx dot gbl> <20131211124146 dot GA13694 at bubble dot grove dot modra dot org> <DUB122-W625D03C11B9F166A2223FE4DD0 at phx dot gbl> <20131212010230 dot GB16770 at bubble dot grove dot modra dot org> <DUB122-W155981D9FD99E5FCA83795E4DB0 at phx dot gbl> <20131217232839 dot GB1864 at bubble dot grove dot modra dot org> <DUB122-W1783A4BB2C927FBBE08176E4DA0 at phx dot gbl> <20131219101143 dot GA7521 at bubble dot grove dot modra dot org> <DUB122-W329B01E20BD93DF4401BD2E4C50 at phx dot gbl>
On Thu, Dec 19, 2013 at 11:50:02AM +0100, Bernd Edlinger wrote:
> Isn't the actual invocation of the build-g++ also including /sysroot_for_host/include
> in that case? Why doesn't this cause problems then?
Yes, and that causes failures too. BUILD_CPPFLAGS is the culprit.
See http://gcc.gnu.org/ml/gcc-patches/2013-12/msg01149.html
--
Alan Modra
Australia Development Lab, IBM