-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
How to cross compile this gem? #100
Comments
I confirm that mruby-onig-regexp support Visual Studio, mingw64, Linux, OSX. What is target OS? Please show me compilation error. |
I'm using OSX. ` MRuby::CrossBuild.new('android-armeabi') do |conf| ENV['ANDROID_ARCH'] = 'armeabi' toolchain :android conf.gembox 'custom' conf.cc.flags << '-O3' end ` I'm trying to cross compile like this. In the custom.gembox, I have the line like this.
I found that when the system built, the file "onigmo-6.1.3.tar.gz" don't get unzipped and the onigmo doesn't get compiled. Thank you for help. |
What error message? |
The compile is fine. But it cannot be linked. The error messages are like "undef: _OnigEncodingASCII" when linked. |
What compiler do you use? gcc or clang? version? |
I use clang.
|
Hmm, can you build onigmo-6.1.3 with extract tar.gz? |
I'm trying to cross compile this gem. Unfortunately, it's not success. Do you have some steps to do that? Thanks
The text was updated successfully, but these errors were encountered: