Files
mruby-mruby/target/cross-32bit.rb
T
Yukihiro "Matz" Matsumoto fdbfeaf533 Build process updated:
You have to specify `TARGET` to specify a configuration, e.g.

```
rake TARGET=host-debug all test
```

When you port `mruby` to a new configuration:
1. copy an existing configuration under `target` directory
2. modify the new configuration file
3. build using the new configuration
4. send PR if you please
2020-10-12 16:20:47 +09:00

14 lines
276 B
Ruby

# Define cross build settings
MRuby::CrossBuild.new('32bit') do |conf|
toolchain :gcc
conf.cc.flags << "-m32"
conf.linker.flags << "-m32"
conf.build_mrbtest_lib_only
conf.gem 'examples/mrbgems/c_and_ruby_extension_example'
conf.test_runner.command = 'env'
end