nim / rpms / golang

Forked from rpms/golang 5 years ago
Clone

be393a2 arch bootstrapping and macros

Authored and Committed by Vincent Batts 10 years ago
    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
    
        
file modified
+415 -30
file modified
+7 -0