Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCrosscompile script #266
Closed
Crosscompile script #266
Conversation
…ed and needed
…rings, so forcing bytes here raises exceptions
…ashrc
This comment has been minimized.
This comment has been minimized.
|
Maybe, this script can be highly Linux distribution specific and may not be that portable (I mean the script itself, not its build)... Especially, configure lines. I'm thinking about creating a new GRASS package for MXE. |
This comment has been minimized.
This comment has been minimized.
|
For those who are interested in testing the latest build of the master branch, grass79-x86_64-w64-mingw32-latest.zip (compile log). Local installation (well, extraction)
Portable GRASS
|
This comment has been minimized.
This comment has been minimized.
|
Oh! My bad.. I'll have to recreate this PR... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
HuidaeCho commentedDec 21, 2019
•
edited
This PR adds the cross-compile script I've been working on using MXE. It is a standalone shell script based on grass-build-scripts. Please test it. Set up MXE first (e.g.,
/opt/mxe) and from the root of GRASSThis script compiles GRASS twice (native for documents and x86_64-w64-mingw32) and creates
grass79.batthat auto-detects Python 3 inPATHor suggests a manual change for portable GRASS with Python 3 on the same flash drive.Currently, MXE packages are slightly outdated.
BTW, I tried to use the OSGeo4W and standalone installers, but both required admin rights to install. This script just packages everything into a ZIP file, so it can be extracted anywhere. Python 3 needs to be installed separately with the Add Python to PATH option.