summaryrefslogtreecommitdiff
path: root/src/libcgo
AgeCommit message (Collapse)AuthorFilesLines
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-3/+8
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'Dell2-6/+15
R=rsc CC=golang-dev http://codereview.appspot.com/157074 Committer: Russ Cox <rsc@golang.org>
2009-11-17FreeBSD/i386 workDevon H. O'Dell1-0/+59
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc http://codereview.appspot.com/157055 Committer: Russ Cox <rsc@golang.org>
2009-11-17FreeBSD-specific porting work.Devon H. O'Dell2-0/+47
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-15makefiles: use correct gcc order in case --as-needed is in use.Russ Cox1-1/+1
Suggested by eostapets. Fixes issue 141. R=r http://codereview.appspot.com/155049
2009-10-038c, 8l dynamic loading support.Russ Cox12-317/+489
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-2/+4
R=r DELTA=70 (47 added, 4 deleted, 19 changed) OCL=35167 CL=35171
2009-09-24cgo checkpoint.Russ Cox1-0/+12
can write all 3 output files and then compile them by hand. R=r DELTA=919 (841 added, 16 deleted, 62 changed) OCL=34954 CL=34973
2009-08-24cgocall bug fix.Russ Cox1-21/+39
better FFI demo: compute fibonacci numbers using FFI'ed libgmp. R=r DELTA=281 (255 added, 19 deleted, 7 changed) OCL=33815 CL=33820
2009-08-24start of FFI support, and a demo.Russ Cox2-0/+302
R=r DELTA=494 (492 added, 0 deleted, 2 changed) OCL=33784 CL=33810