On Wed, Nov 11, 2009 at 22:41, kannaballistic <
cbra...@gmail.com> wrote:
> Hello
> I'm am trying to compile Go in OS X 10.4. I set the following
> variables in .profile:
>
> export GOROOT=$HOME/go
> export GOOS=darwin
> export GOARCH=386
> export GOBIN=/usr/bin
>
> /Users/test/go/src/libmach/darwin.c:656: error: parse error before
> 'regs'
> /Users/test/go/src/libmach/darwin.c:657: error:
> 'x86_THREAD_STATE64_COUNT' undeclared (first use in this function)
> make: *** [darwin.o] Error 1
> make: *** Waiting for unfinished jobs....
I'm afraid that we haven't tried to run Go on OS X 10.4.
Even if you get past this problem and can build everything,
there may be other surprises: Go bypasses the system
libraries and makes system calls directly, and we haven't
tested any of it on 10.4. It might take some low-level
system hacking to get things working. I honestly don't know.
If it makes sense for you to do so, the easiest solution is to
switch to 10.5 or 10.6, both of which are known to work.
Please feel free to add this to the issue tracker
(
http://code.google.com/p/go/issues/list)
as a way to coordinate with others who might want
to work on making Go run on OS X 10.4.
Russ