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

Fix Windows build #20

Closed
wants to merge 2 commits into from
Closed

Fix Windows build #20

wants to merge 2 commits into from

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented Mar 27, 2021

This is a super hacky solution, but should work for any shared builds.
First we need to fix the obj filenames, since these are expected in the
src/ subfolder. To trigger their compilation, we write the required
dependency rules manually to the Makefile. Finally we add the assembler
obj files as LD_FLAGS.

A clean solution would be to support asm files as source files in the
Windows build chain. If that does not happen, at least we should use
a Makefile.fragment, to avoid the dependency on MFO. We also should
strive to minimize the use of global variables in config.w32.

trowski and others added 2 commits March 26, 2021 23:24
This is a super hacky solution, but should work for any shared builds.
First we need to fix the obj filenames, since these are expected in the
src/ subfolder.  To trigger their compilation, we write the required
dependency rules manually to the Makefile.  Finally we add the assembler
obj files as LD_FLAGS.

A clean solution would be to support asm files as source files in the
Windows build chain.  If that does not happen, at least we should use
a Makefile.fragment, to avoid the dependency on `MFO`.  We also should
strive to minimize the use of global variables in config.w32.
@trowski trowski force-pushed the windows branch 3 times, most recently from f056234 to 459d93d Compare March 27, 2021 17:24
@trowski
Copy link
Member

trowski commented Mar 28, 2021

Manually merged, thanks for the help!

@trowski trowski closed this Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants