Cross-Compile-Friendly Build System for Native Binaries and Cross-Compiled MIPS Native Binary#59
Open
woodrowbarlow wants to merge 3 commits intoscream3r:2.8.0from
Open
Cross-Compile-Friendly Build System for Native Binaries and Cross-Compiled MIPS Native Binary#59woodrowbarlow wants to merge 3 commits intoscream3r:2.8.0from
woodrowbarlow wants to merge 3 commits intoscream3r:2.8.0from
Conversation
added 3 commits
November 12, 2014 11:12
Implemented a Makefile system for Linux builds (could be extended for windows builds as well), see src/cpp/README.make for details. Included a cross-compiled native binary for MIPS architecture on Linux.
I forgot to add the readme to the last commit.
|
Good job, I will soon test ... |
Author
|
Update: for various reasons, I don't trust my C++ cross-compile toolchain, so I'm not sure if the binaries in this pull request are dependable. For my purposes, I re-wrote the native library in C and cross-compiled that (and it's working perfectly on my MIPS processor board), but I am hesitant to commit those binaries since they are not a direct reflection of the source as it stands in this repo. This might be a sign that binaries aren't meant to be committed to the source repository (after all, who's to say I didn't submit a binary that has malicious code hidden in it?). Anyway, I still think my proposed build system makes sense. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request provides a Makefile build system for linux builds of the native binary. To make a native binary for your current system, you would just need to type "make". To cross-compile a native binary for a different architecture, you can specify your crosstools and target in much the same way you can do so when compiling linux kernels. A readme is included.
I'm also including a pre-compiled native binary for the MIPS architecture running Linux. This addresses issue #58.