Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Makefile and cgo now rewrite / to _ when creating the path.
The .so for gosqlite.googlecode.com/hg/sqlite is named
cgo_gosqlite.googlecode.com_hg_sqlite.so, and then 6l and 8l
both include a default rpath of $GOROOT/pkg/$GOOS_$GOARCH.
This should make it easier to move binaries from one system
to another.
Fixes issue 857.
R=iant, r
CC=golang-dev
http://codereview.appspot.com/1700048
|
|
built. Note that they are only built if a //export comment
appears, so other targets should only use them if there is
such a comment.
Fixes issue 723.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1073041
|
|
The new //export comment marks a Go function as callable from
C. The syntax is "//export NAME" where NAME is the name of
the function as seen from C. If such a comment is seen, cgo
will generate two new files: _cgo_export.h and _cgo_export.c.
The _cgo_export.h file provides declarations which C code may
use to call Go functions. The _cgo_export.c file contains
wrappers, and is to be compiled with gcc.
The changes to Make.pkg support using this from a Go Makefile,
though it could probably be more convenient.
R=rsc
CC=golang-dev
http://codereview.appspot.com/853042
|
|
otherwise "make install" runs cp unconditionally
R=r
CC=golang-dev
http://codereview.appspot.com/802044
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/650042
|
|
This permits cgo generated code to use these header files even
if the Go sources are not around.
R=rsc
CC=golang-dev
http://codereview.appspot.com/224045
|
|
R=rsc, agl, r
CC=golang-dev
http://codereview.appspot.com/188043
|
|
QUOTED_GOBIN. Re-take of 181077; fixes copy-pasta that broke build.
Fixes issue 468
R=rsc
CC=golang-dev
http://codereview.appspot.com/183125
Committer: Russ Cox <rsc@golang.org>
|
|
(broke build)
TBR=dho
http://codereview.appspot.com/181139
|
|
QUOTED_GOBIN
Fixes issue 468
R=rsc
CC=golang-dev
http://codereview.appspot.com/181077
Committer: Russ Cox <rsc@golang.org>
|
|
R=dho
CC=golang-dev
http://codereview.appspot.com/180099
|
|
R=dho, phf
CC=golang-dev
http://codereview.appspot.com/180082
|
|
Fixes issue 342.
R=rsc
CC=golang-dev
http://codereview.appspot.com/179062
Committer: Russ Cox <rsc@golang.org>
|
|
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.
R=rsc
CC=golang-dev
http://codereview.appspot.com/171044
Committer: Russ Cox <rsc@golang.org>
|
|
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
http://codereview.appspot.com/157103
|
|
R=rsc
http://codereview.appspot.com/157065
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 239.
R=r
http://codereview.appspot.com/154176
|
|
Suggested by eostapets.
Fixes issue 141.
R=r
http://codereview.appspot.com/155049
|
|
This does still contain some FreeBSD-specific bits, but
it's a pain to do partial diffs.
R=rsc
http://codereview.appspot.com/152138
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 30.
R=r1, r
http://codereview.appspot.com/154061
|
|
allow Makefiles using Make.pkg to specify a
list of directories that should be installed
before trying to build the package.
this is a stopgap for small package trees
maintained outside the standard tree.
R=r
http://go/go-review/1016012
|
|
better mach binaries.
cgo working on darwin+linux amd64+386.
eliminated context switches - pi is 30x faster.
add libcgo to build.
on snow leopard:
- non-cgo binaries work; all tests pass.
- cgo binaries work on amd64 but not 386.
R=r
DELTA=2031 (1316 added, 626 deleted, 89 changed)
OCL=35264
CL=35304
|
|
R=r
DELTA=70 (47 added, 4 deleted, 19 changed)
OCL=35167
CL=35171
|
|
integrated into Makefiles (see misc/cgo/gmp/Makefile).
R=r
DELTA=1110 (540 added, 525 deleted, 45 changed)
OCL=35153
CL=35158
|
|
R=r
DELTA=67 (17 added, 29 deleted, 21 changed)
OCL=33215
CL=33219
|
|
R=r
DELTA=6 (4 added, 0 deleted, 2 changed)
OCL=33107
CL=33110
|
|
gobuild is obsolete; don't build it (will delete eventually).
revised gotest for whole-package compilation.
R=r
DELTA=102 (68 added, 6 deleted, 28 changed)
OCL=33067
CL=33098
|