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

Allow cross compiling Windows projects with MinGW #1661

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

tobil4sk
Copy link
Member

If the -mingw flag is set when compiling the windows target from another host OS, it will now use MinGW instead of neko.

@DigiEggz
Copy link

DigiEggz commented Oct 19, 2023

I've tested this and it's working well.

@player-03 player-03 changed the base branch from develop to 8.2.0-Dev January 12, 2024 18:52
@player-03 player-03 merged commit 24bc9b2 into openfl:8.2.0-Dev Jan 12, 2024
@tobil4sk tobil4sk deleted the mingw-fixes-develop branch January 13, 2024 00:04
@tobil4sk
Copy link
Member Author

tobil4sk commented Jan 13, 2024

@player-03 Thanks for merging! As we discussed in #1610, we will also have to clean up the logic for deciding which target to use for a cross compilation build (and make sure everything works properly in non xml projects).

EDIT: I see you have made a commit to address this issue: 6725825. Thanks!

joshtynjala added a commit that referenced this pull request Apr 26, 2024
Similar to #1661, except targeting Linux instead of Windows

On macOS, need to install https://github.com/messense/homebrew-macos-cross-toolchains

On Windows, I think it may be possible to get Linux compilers with Cygwin, but I haven't tried
@ahmutkadim
Copy link

Hey, is this pull request merged with a main release yet? If not when it will be?

@joshtynjala
Copy link
Member

@ahmutkadim This PR was merged into the 8.2.0-Dev branch. Lime 8.2 won't be released until some point after that branch has been merged into the develop branch. It's coming soon-ish, I think, but it'll still be a bit of time while we work to stabilize that release.

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

Successfully merging this pull request may close these issues.

5 participants