This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gofrontend-dev] Re: GO tools for gccgo cross
- From: Ian Lance Taylor <iant at golang dot org>
- To: Andrew Chambers <andrewchamberss at gmail dot com>
- Cc: "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>, Lynn Boger <laboger at linux dot vnet dot ibm dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 22 May 2015 15:50:11 -0700
- Subject: Re: [gofrontend-dev] Re: GO tools for gccgo cross
- Authentication-results: sourceware.org; auth=none
- References: <54D1270A dot 9050607 at linux dot vnet dot ibm dot com> <21b22da3-4871-4469-83ce-3a2590a3d00a at googlegroups dot com> <555F358B dot 2060009 at linux dot vnet dot ibm dot com> <CACDP-teX9pCB2zxBp_1f+UQCtyDTVJDAsZacRg50AFd7s0zqWA at mail dot gmail dot com> <CAOyqgcUA51=zLhx2dXF-FMznGvoSY3cNT9kfpy6aLiBR9yv5ng at mail dot gmail dot com> <9c1f4c29-76b4-4271-9edd-842706e84ef7 at googlegroups dot com>
On Fri, May 22, 2015 at 3:11 PM, Andrew Chambers
<andrewchamberss@gmail.com> wrote:
>
> I'm not suggesting breaking go conventions, I just think the default if no
> GOARCH is specified then it should match --target.
Sounds good to me.
> Perhaps we could check the symlink name for the target triple if no GOARCH
> is set.
We should probably build it into the tool, perhaps in zdefaultcc.go
created in gotools/Makefile.am.
Ian