diff options
| author | SiZiOUS <[email protected]> | 2021-04-06 17:30:02 +0200 |
|---|---|---|
| committer | SiZiOUS <[email protected]> | 2021-04-06 17:30:02 +0200 |
| commit | 7ad2827900686ab695b7d39ae9b6906e529cad3f (patch) | |
| tree | c3cf88962e23bc0c17930a72d91a20f0506ff81b /build_config | |
| parent | 71bf362a5bca865b5ce063b17d8fd62d34fe25be (diff) | |
| download | mruby-7ad2827900686ab695b7d39ae9b6906e529cad3f.tar.gz mruby-7ad2827900686ab695b7d39ae9b6906e529cad3f.zip | |
Updating dreamcast_shelf build configuration.
Diffstat (limited to 'build_config')
| -rw-r--r-- | build_config/dreamcast_shelf.rb | 75 |
1 files changed, 50 insertions, 25 deletions
diff --git a/build_config/dreamcast_shelf.rb b/build_config/dreamcast_shelf.rb index 7e7d6a52e..63035f5af 100644 --- a/build_config/dreamcast_shelf.rb +++ b/build_config/dreamcast_shelf.rb @@ -1,8 +1,14 @@ # Cross Compiling configuration for the Sega Dreamcast -# This configuration requires KallistiOS (KOS) -# https://dreamcast.wiki +# https://dreamcast.wiki/Using_Ruby_for_Sega_Dreamcast_development # -# Tested on GNU/Linux, MinGW-w64/MSYS2, Cygwin, macOS and MinGW/MSYS (see below) +# Requires KallistiOS (KOS) +# http://gamedev.allusion.net/softprj/kos/ +# +# Tested on GNU/Linux, macOS and Windows (throught MinGW-w64/MSYS2, Cygwin and DreamSDK). +# DreamSDK is based on MinGW/MSYS: https://dreamsdk.org/ +# +# Input this command on the directory where mruby is installed: +# make MRUBY_CONFIG=dreamcast_shelf # MRuby::CrossBuild.new("dreamcast") do |conf| toolchain :gcc @@ -62,33 +68,52 @@ MRuby::CrossBuild.new("dreamcast") do |conf| # Disable C++ exception conf.disable_cxx_exception - + # Gems from core - # removing mruby-io - conf.gem :core => "mruby-metaprog" - conf.gem :core => "mruby-pack" - conf.gem :core => "mruby-sprintf" - conf.gem :core => "mruby-print" - conf.gem :core => "mruby-math" - conf.gem :core => "mruby-time" - conf.gem :core => "mruby-struct" + # Some Gems are incompatible and were disabled. + + conf.gem :core => "mruby-array-ext" + conf.gem :core => "mruby-binding" + conf.gem :core => "mruby-binding-core" + conf.gem :core => "mruby-catch" + conf.gem :core => "mruby-class-ext" + conf.gem :core => "mruby-cmath" conf.gem :core => "mruby-compar-ext" + conf.gem :core => "mruby-compiler" + conf.gem :core => "mruby-complex" + conf.gem :core => "mruby-enum-chain" conf.gem :core => "mruby-enum-ext" - conf.gem :core => "mruby-string-ext" - conf.gem :core => "mruby-numeric-ext" - conf.gem :core => "mruby-array-ext" + conf.gem :core => "mruby-enum-lazy" + conf.gem :core => "mruby-enumerator" + conf.gem :core => "mruby-error" + conf.gem :core => "mruby-eval" + conf.gem :core => "mruby-exit" + conf.gem :core => "mruby-fiber" conf.gem :core => "mruby-hash-ext" - conf.gem :core => "mruby-range-ext" - conf.gem :core => "mruby-proc-ext" - conf.gem :core => "mruby-symbol-ext" - conf.gem :core => "mruby-random" + conf.gem :core => "mruby-inline-struct" +# conf.gem :core => "mruby-io" + conf.gem :core => "mruby-kernel-ext" + conf.gem :core => "mruby-math" + conf.gem :core => "mruby-metaprog" + conf.gem :core => "mruby-method" + conf.gem :core => "mruby-numeric-ext" conf.gem :core => "mruby-object-ext" conf.gem :core => "mruby-objectspace" - conf.gem :core => "mruby-fiber" - conf.gem :core => "mruby-enumerator" - conf.gem :core => "mruby-enum-lazy" + conf.gem :core => "mruby-os-memsize" + conf.gem :core => "mruby-pack" + conf.gem :core => "mruby-print" + conf.gem :core => "mruby-proc-binding" + conf.gem :core => "mruby-proc-ext" + conf.gem :core => "mruby-random" + conf.gem :core => "mruby-range-ext" + conf.gem :core => "mruby-rational" + conf.gem :core => "mruby-sleep" +# conf.gem :core => "mruby-socket" + conf.gem :core => "mruby-sprintf" + conf.gem :core => "mruby-string-ext" + conf.gem :core => "mruby-struct" + conf.gem :core => "mruby-symbol-ext" +# conf.gem :core => "mruby-test" +# conf.gem :core => "mruby-time" conf.gem :core => "mruby-toplevel-ext" - conf.gem :core => "mruby-kernel-ext" - conf.gem :core => "mruby-class-ext" - conf.gem :core => "mruby-compiler" end |
