-
Notifications
You must be signed in to change notification settings - Fork 3
alberts/goscons
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
#goscons goscons is a set of SCons tools for building Go code. goscons supports Cgo. goscons includes a helper application based on the one from sconsgo, which can be found at: https://launchpad.net/sconsgo ##Installation To get started, do the following: 1. Set GOROOT in your environment to point to your Go distribution. 2. Add $GOROOT/bin to your PATH. 3. On Mac OS X, it is also necessary to set GOARCH. 4. Run scons to install goscons-helper to $GOROOT/bin. 5. Run ./test.sh to do some tests. 6. Set PYTHONPATH in your environment to point to the top-level goscons directory. 7. Look in test.sh and the prj[12345] directories for some examples. If PYTHONPATH is set, the following SConstruct should work to build a simple Go project: from goscons import GoEnvironment env = GoEnvironment() env.GoPackages('src/pkg') env.GoCommands('src/cmd') ##gccgo Work was started on support for gccgo, but the compiler is missing some features that are needed to support dependency resolution and automatic construction of the link commands. http://groups.google.com/group/golang-nuts/browse_thread/thread/0ef96b1e6bbb1c60 ##Bugs Please report bugs to Albert Strasheim <fullung@gmail.com>. ##About the tests The tests assume you have the 386 tools available, so if you are on amd64, go to $GOROOT/src and run: GOARCH=386 ./make.bash You might need to install 32-bit versions of packages like glibc-devel for this to work, so try something like: yum install libgcc.i686 glibc-devel.i686 libuuid-devel.i686
About
SCons Tools for Go
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published