Commit Graph

2 Commits

Author SHA1 Message Date
Vincent Batts be393a2148 arch bootstrapping and macros
now providing the bootstrapping to allow compiles for all golang
supported architectures, from fedora.
'yum install go' or 'yum install golang' will pull in only the bits
needed for host architecture compiles, but then you could add
'golang-pkg-darwin-amd64' rpm, and build your golang project source
like:

	$> go build myapp.go
	$> file ./myapp
	./myapp: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), statically linked, not stripped
	$> GOOS=darwin GOARCH=amd64 go build myapp.go
	$> file ./myapp
	./myapp: Mach-O 64-bit x86_64 executable
2014-04-10 13:32:57 -04:00
Vincent Batts fd00fb3b64 include rpm macros with %gopath 2014-03-26 15:48:05 -04:00