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

Cross compiling on Ubuntu 16+ #1289

Open
rpspringuel opened this issue Feb 1, 2017 · 3 comments
Open

Cross compiling on Ubuntu 16+ #1289

rpspringuel opened this issue Feb 1, 2017 · 3 comments

Comments

@rpspringuel
Copy link
Contributor

In preping the beta I've been trying to setup cross-compiling on my Ubuntu 16.04 VM and have discovered that the mingw32 port is not in the repositories for that version of Ubuntu. As a result, I can't build the Windows executable on that VM. There is a mingw-w64 port, which should be able to build both 32 and 64 bit executables, but it doesn't work with our build setup as currently structured, and I'm not in a position to figure out what changes are needed at the moment.

This doesn't present too big a problem for now, as I can simply switch to my Ubuntu 14.04 VM (where the mingw32 port is readily available) and build the executable there. However, in the long term we're probably going to have to look into switching the tool chain around for building the Windows executable.

@rpspringuel
Copy link
Contributor Author

In a similar vein, there is now a mingw-w64 cross compiler port for MacPorts, so ideally this update should allow for compilation of the Windows executable on both Mac and Linux.

Also, I found a page which shows a simple compiler selection script for mingw-w64:
https://sourceforge.net/p/mingw-w64/wiki2/UsingLinuxBinaries/

@henryso
Copy link
Contributor

henryso commented Feb 26, 2017

Does this mean we would no longer support win32-only systems? If so, do we care?

@rpspringuel
Copy link
Contributor Author

The mingw-w64 package contains both a 32 & 64 bit compiler.

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

No branches or pull requests

2 participants