This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch RFA: Support for building Go tools





> On Jan 8, 2015, at 1:35 PM, Ian Lance Taylor <iant@golang.org> wrote:
> 
> This patch adds support to the GCC tree for building tools that are
> used with Go.  There are two external used tools (go, gofmt) and one
> tool used internally by go (cgo).  This patch is pure machinery, with
> no source code.  The tools are not built by default, only when go is
> enabled using --enable-languages.  For the moment the tools are also
> not built when building a cross-compiler, although I hope to change
> that when I figure out what is needed.

When you add support for cross, please also make sure that Canadian cross works too. 

Thanks,
Andrew

> 
> The tools work just as they do when built for the gc compiler, only
> they use gccgo instead of gc.  For documentation on these tools and
> what they do see http://golang.org/cmd/go ,
> http://golang.org/cmd/gofmt , http://golang.org/cmd/cgo .
> 
> This patch parallels the mechanism used in the existing gnattools
> directory for building Ada tools.
> 
> Could the build machinery maintainers please take a look and let me
> know if this is OK?  Thanks.
> 
> Lynn, please also take a look and see if this works for you.
> 
> The first attachment is the real changes for review.  The second
> attachment is a compressed patch for the generated files, for
> convenience for anybody who wants to try this out.
> 
> Ian
> <foo.txt>
> <foo1.txt.bz2>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]