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

WIP: mingw32 cross compile support (under OpenBSD and Ubuntu) #85

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

Conversation

n1000
Copy link
Member

@n1000 n1000 commented Oct 15, 2016

I worked on this a long while back, and haven't touched it since... Just putting up this pull request in case anyone else is interested in using / finishing this up.

Basically if you uncomment the MinGW32 cross compiler lines in the top level make.def you should be able to cross compile the toolkit for windows under OpenBSD or Linux using MinGW32.

When I originally made these changes I had tested them on OpenBSD and Linux.

n1000 added 19 commits October 15, 2016 20:02
Skip the compilation of tools not currently supported on Windows.
Move these two definitions out of multiple files into one common
file.
These statements were causing some warnings / errors on some
compilers.
Replace current SLEEP macro with SLEEP_MS.

Replace existing SLEEP macro with version that sleeps for seconds.
Replace all uses of sleep() with SLEEP() macro for cross-platform
sleeping.
Update make.def to include Ubuntu and OpenBSD cross-comple examples
@n1000 n1000 self-assigned this Oct 19, 2016
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.

1 participant