]> Cypherpunks repositories - gostls13.git/commit
runtime: update godefs usage comment for GOARCH=386 GOOS={darwin,freebsd}
authorGiles Lean <giles.lean@pobox.com>
Mon, 3 May 2010 08:26:39 +0000 (01:26 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 3 May 2010 08:26:39 +0000 (01:26 -0700)
commit3c32300c4dcd50143e5aa6089c583e068c331099
treed7498446d6b83cb9b10145d7a1e9d220b7598133
parent1964417e4115e21fca6fa53f3e452b9ca0eb9662
runtime: update godefs usage comment for GOARCH=386 GOOS={darwin,freebsd}

When trying to regenerate src/pkg/runtime/darwin/386/defs.h
on a 64 bit capable Snow Leopard (OS X 10.6.3) system I
needed to add -f -m32 to godefs, as this OS and hardware
combination defaults to 64 bit compilation.

For safety, make the same change to the 32 bit FreeBSD
instructions in .../freebsd/defs.c.  (Tested OK and no
problems introduced.)

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1052042
src/pkg/runtime/darwin/386/defs.h
src/pkg/runtime/darwin/defs.c
src/pkg/runtime/freebsd/386/defs.h
src/pkg/runtime/freebsd/defs.c