1

I'm trying to search Google but the keyword 'go' makes it difficult to find any useful answers. Reading the http://golang.org/ page doesn't turn up anything useful either.

Right now, I have a simple function in my bash.rc:

function gogo() {
    6g -o gotmp.tmp $@;
    6l -o go.out gotmp.tmp;
    rm -f gotmp.tmp;
}

However, this is not perfect. It would be nice for something built in (perhaps something like gogcc but using 6g/6l backend).

Thanks!

Chris Lutz
  • 73,191
  • 16
  • 130
  • 183
Nick Presta
  • 28,134
  • 6
  • 57
  • 76

1 Answers1

6

Do you have a reason to not use a build system?

There is a ready made Makefile in $GOROOT/doc/. Other build systems: What build systems work with Go?

Community
  • 1
  • 1
Isaiah
  • 4,201
  • 4
  • 27
  • 40