https://bugzilla.redhat.com/show_bug.cgi?id=1253668
Vincent Batts <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2015-09-03 09:58:50 --- Comment #2 from Vincent Batts <[email protected]> --- Closing as mingw is not needed for the compiler to produce windows binaries. That feature is a part of the compiler. Example: ``` vbatts@valse ~/x (master) $ cat hello.go package main import "fmt" func main() { fmt.Println("hello world!") } vbatts@valse ~/x (master) $ rpm -q golang golang-1.5-3.fc22.x86_64 vbatts@valse ~/x (master) $ go version go version go1.5 linux/amd64 vbatts@valse ~/x (master) $ GOOS=windows GOARCH=amd64 go build hello.go vbatts@valse ~/x (master) $ GOOS=darwin GOARCH=amd64 go build -o hello.darwin hello.go vbatts@valse ~/x (master) $ GOOS=freebsd GOARCH=386 go build -o hello.freebsd hello.go vbatts@valse ~/x (master) $ GOOS=linux GOARCH=arm go build -o hello.linux hello.go vbatts@valse ~/x (master) $ file hello* hello.darwin: Mach-O 64-bit x86_64 executable hello.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows hello.freebsd: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, not stripped hello.go: C source, ASCII text hello.linux: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped ``` -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ golang mailing list [email protected] https://lists.fedoraproject.org/mailman/listinfo/golang
