Add `target/host-m32.rb` to compile mruby in 32bit mode.

Tested only on Linux. You need to install 32bit relate libraries,
e.g. libc6-dev-i386.
parent 42814294
MRuby::Build.new do |conf|
# load specific toolchain settings
toolchain :gcc
# include the GEM box
conf.gembox 'full-core'
conf.cc.flags << '-m32'
conf.linker.flags << '-m32'
# Turn on `enable_debug` for better debugging
enable_debug
conf.enable_test
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment