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

Cross-Compile-Friendly Build System for Native Binaries and Cross-Compiled MIPS Native Binary #59

Open
wants to merge 3 commits into
base: 2.8.0
Choose a base branch
from

Conversation

woodrowbarlow
Copy link

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.

Woodrow Barlow 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.
@ricardojlrufino
Copy link

Good job, I will soon test ...

@woodrowbarlow
Copy link
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants