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

Doesn't cross compile #3

Open
fireboy1919 opened this issue Apr 21, 2016 · 1 comment
Open

Doesn't cross compile #3

fireboy1919 opened this issue Apr 21, 2016 · 1 comment

Comments

@fireboy1919
Copy link

I got this error when attempting to build this with goxc:
[goxc:xc] 2016/04/21 11:33:30 Stopping after 'xc' failed with error 'Wait error: exit status 1: ../zeppelin/paragraph.go:5:2: C source files not allowed when not using cgo or SWIG: approxidate.c'
[goxc] 2016/04/21 11:33:30 RunTasks error: Wait error: exit status 1: ../zeppelin/paragraph.go:5:2: C source files not allowed when not using cgo or SWIG: approxidate.c

Perhaps there's no way around this, but it does mean that one of the most convenient ways of making portable go code is not available when used with this library.

@elubow
Copy link
Contributor

elubow commented Apr 24, 2017

That's correct. The problem is that cross compiling in general isn't really usable with CGo. It isn't something specific to this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants