Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: goxc cross-compiler does not work with go1.4.1 #9630

Closed
SommerEngineering opened this issue Jan 18, 2015 · 3 comments
Closed

cmd/go: goxc cross-compiler does not work with go1.4.1 #9630

SommerEngineering opened this issue Jan 18, 2015 · 3 comments

Comments

@SommerEngineering
Copy link

With Go 1.4 I am able to build the GOXC cross-compiler (https://github.com/laher/goxc) and its tool chain (goxc -t). After installing Go 1.4.1, it no longer possible to build the tool chain.

For Go 1.4.1, within Go's pkg directory, there are just a few header files (*.h) for most CPUs and GOXC was not able to copy the final Go tools to bin and therefore, afterwards it is not able to cross-compile with 1.4.1.

Because the GOXC code does not changed within the last time, i create the issue directly here.

@rjeczalik
Copy link

~ $ go version
go version go1.4.1 darwin/amd64
~ $ go get github.com/laher/goxc
~ $ goxc -t
(...)
[goxc:toolchain] 2015/01/18 17:03:37 Task toolchain succeeded
~ $ GOOS=windows GOARCH=386 go build cmd/gofmt
~ $ file gofmt.exe
gofmt.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit

Works here.

@SommerEngineering
Copy link
Author

Sorry, I used Microsoft Windows 8.1, 64 bit. Maybe it is an issue for Go's Windows build?

@bradfitz
Copy link
Contributor

This doesn't sound like a Go bug. Also, nothing notable changed here that I believe could've affected goxc.

I suggest you file a bug against https://github.com/laher/goxc and if/when @laher et al determine it's a Go problem, you can reopen this one.

@mikioh mikioh changed the title Go 1.4.1: GOXC Cross-Compiler does not work cmd/go: goxc cross-compiler does not work with go1.4.1 Jan 18, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants