Last active
August 29, 2015 14:23
-
-
Save wmoxam/991cadc6d7b0ddfff325 to your computer and use it in GitHub Desktop.
Crystal on OpenBSD
This file contains 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
Methods tried, and to be tried | |
Use Linux emulation to run Crystal compiler. FAILED | |
- OBSD Linux emulation is only for i386, Crystal binaries are 64-bit. Also OBSD i386 binaries are not compatible with amd64. | |
Use the first release that used a Ruby compiler to compile the next version (and so on) until we have an up to date version. | |
- current OBSD has llvm 3.5 in ports, the original Ruby version of Crystal targeted v3.3 | |
- OBSD LLVM port isn't built with LLVM_ENABLE_SHARED, hopefully this is an easy change | |
- to simplify things it may be easier to build on a version of OBSD that supports LLVM 3.3 | |
Untried: Maybe something can be cross compiled? (http://clang.llvm.org/docs/CrossCompilation.html) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment