summaryrefslogtreecommitdiff
path: root/misc/cgo
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý9-21/+76
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý12-58/+294
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý17-44/+337
2010-05-01gmp: fix bug in SetStringRuss Cox1-1/+1
R=adg CC=golang-dev http://codereview.appspot.com/1004045
2010-04-09A test case for cgo //export.Ian Lance Taylor5-0/+174
R=rsc CC=golang-dev http://codereview.appspot.com/881043
2009-12-15 1) Change default gofmt default settings forRobert Griesemer6-173/+173
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r http://codereview.appspot.com/180047
2009-12-11Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/srcDevon H. O'Dell2-4/+5
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>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia2-4/+4
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>
2009-11-18More FreeBSD-touchups. Thundercats are GOOOOO!Devon H. O'Dell1-2/+0
R=rsc CC=golang-dev http://codereview.appspot.com/157074 Committer: Russ Cox <rsc@golang.org>
2009-11-18make all.bash finish on FreeBSDRuss Cox1-0/+2
R=dho CC=golang-dev http://codereview.appspot.com/156067
2009-11-17FreeBSD-specific porting work.Devon H. O'Dell1-2/+2
cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;) R=rsc, VenkateshSrinivas http://codereview.appspot.com/152142 Committer: Russ Cox <rsc@golang.org>
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-1/+1
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1024040
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer5-19/+19
R=rsc, r http://go/go-review/1025029
2009-11-06- one-line funcs in miscRobert Griesemer1-3/+1
gofmt -w misc R=rsc http://go/go-review/1025007
2009-11-05gofmt -w miscRobert Griesemer4-12/+11
R=rsc http://go/go-review/1025004
2009-10-14Minor fixes and additions to the GMP wrapping.Adam Langley1-1/+12
R=rsc APPROVED=rsc DELTA=12 (11 added, 0 deleted, 1 changed) OCL=35715 CL=35715
2009-10-03add cgo test that doesn't depend onRuss Cox4-1/+209
non-standard libraries and add to build. R=r DELTA=211 (210 added, 0 deleted, 1 changed) OCL=35293 CL=35307
2009-10-038c, 8l dynamic loading support.Russ Cox7-6/+177
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
2009-09-30cgo working on linux/386Russ Cox1-0/+6
R=r DELTA=70 (47 added, 4 deleted, 19 changed) OCL=35167 CL=35171
2009-09-30cgo: works on amd64.Russ Cox3-0/+490
integrated into Makefiles (see misc/cgo/gmp/Makefile). R=r DELTA=1110 (540 added, 525 deleted, 45 changed) OCL=35153 CL=35158