This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch RFA: Improve building gotools with a cross compiler
- From: Ian Lance Taylor <iant at golang dot org>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Wed, 2 Dec 2015 10:13:47 -0800
- Subject: Re: Patch RFA: Improve building gotools with a cross compiler
- Authentication-results: sourceware.org; auth=none
- References: <CAOyqgcV8H9aXfQoiLe8+DuLi656jqEQOsOb98mLPmE+3-daSDQ at mail dot gmail dot com>
Ping to build maintainers. Thanks.
Ian
On Wed, Nov 25, 2015 at 2:22 PM, Ian Lance Taylor <iant@golang.org> wrote:
> PR 66147 points out that it doesn't work to build the gotools with a
> cross-compiler. This patch improves matters. I added a new host
> export to the top level Makefile. Build maintainers, does this change
> seem OK?
>
> Ian
>
> ./ChangeLog:
>
> 2015-11-25 Ian Lance Taylor <iant@google.com>
>
> PR go/66147
> * Makefile.tpl (HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET.
> * Makefile.in: Regenerate.
>
> gotools/ChangeLog:
>
> 2015-11-25 Ian Lance Taylor <iant@google.com>
>
> PR go/66147
> * Makefile.am (GOCOMPILER): In NATIVE case, add
> $(XGCC_FLAGS_FOR_TARGET).