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

Linux build improvements #23

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

Linux build improvements #23

wants to merge 2 commits into from

Conversation

bbbbbr
Copy link
Contributor

@bbbbbr bbbbbr commented Feb 4, 2021

A couple changes for MakefileCommon to work better by default on Linux (it doesn't "out of the box" right now). No worries if you don't want to merge them. :)

These * have not * been tested on Windows yet since my Win VM needs a little work at the moment, so testing them would be a good idea.

  • Only set GBDK_HOME if not already set, allows for local override if present.

  • If GBDK_HOME is not set, and the OS is not windows, then ENV binaries are being used and a .exe extension is required for WINE. It seems an explicit path is also required by WINE, so this adds that since it is known.

  • Fix zgb.lib creation for Linux. The current method was producing a line at the start of it with -e \n which resulted in the following error:
    ?ASlink-Warning-Cannot open library module ../Release/zgb/-e .rel
    If the -e was removed it still errored with
    ?ASlink-Warning-Cannot open library module ../Release/zgb/ .rel

…al override if present. If GBDK_HOME is not set, and the OS is not windows, then ENV binaries are being used and a .exe extension is required for WINE. It seems an explicit path is also required by WINE, so add that since it is known.
…oducing a line at the start of it with -e \n which resulted in the following error:

?ASlink-Warning-Cannot open library module ../Release/zgb/-e .rel

If the -e was removed it still errored with 
?ASlink-Warning-Cannot open library module ../Release/zgb/ .rel
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.

None yet

1 participant