Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Allow cross-building Windows binaries from Linux #36

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

friedkiwi
Copy link

This series of patches allow the cross-building using mingw32/64 from Linux (tested on Ubuntu 18.04). This would allow the easy integration of e.g. CI/CD at a later stage.

Yvan Janssens added 6 commits October 27, 2019 12:52
Added the +x flag to the perl scripts to enable building on non-NT platforms.
In modern Windows SDKs, InitGuid.h is deprecated in favour of guiddef.h. Mingw-w64 also follows this change.
Misused the new header, fixed in this commit.
This file prevents binaries and autogenerated files from polluting the build.
This patch allows the cross-compilation from Linux, which would later on enable e.g. CI integration.
Fixed missing shell statement to determine host.
@@ -3,7 +3,7 @@
#include "aud_dsp.h"
Copy link
Collaborator

@dinkc64 dinkc64 Nov 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Yvan, we've moved the project over to fbneo - you should submit your PR there:
https://github.com/finalburnneo/FBNeo

Unfortunately, we can't accept this specific one, because we need to retain backwards compatibility with mingw gcc 3.4.5 (2 of the active devs use this one) - so a little ifdef-action will need to be used :)

best regards,

  • dink

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

Successfully merging this pull request may close these issues.

2 participants