Commit d0d5594e authored by TERAJIMA, Motoyuki's avatar TERAJIMA, Motoyuki

Update doc/compile/README.md about mruby and mirb

parent 6dc931aa
...@@ -77,13 +77,14 @@ in ```ANDROID_STANDALONE_TOOLCHAIN```. ...@@ -77,13 +77,14 @@ in ```ANDROID_STANDALONE_TOOLCHAIN```.
It is possible to select which tools should be compiled during the compilation It is possible to select which tools should be compiled during the compilation
process. The following tools can be selected: process. The following tools can be selected:
* mrbc (mruby compiler)
* mruby (mruby interpreter) * mruby (mruby interpreter)
* mirb (mruby interactive shell) * mirb (mruby interactive shell)
To select all define an array in ```conf.bins```: To select them declare conf.gem as follows:
conf.bins = %(mrbc mruby mirb) conf.gem "#{root}/mrbgems/mruby-bin-mruby"
conf.gem "#{root}/mrbgems/mruby-bin-mirb"
### File Separator ### File Separator
...@@ -237,9 +238,9 @@ linking with *build/host/lib/libmruby_core.a* ...@@ -237,9 +238,9 @@ linking with *build/host/lib/libmruby_core.a*
under *mrblib* with ```build/host/bin/mrbc``` under *mrblib* with ```build/host/bin/mrbc```
* compile *build/host/mrblib/mrblib.c* to *build/host/mrblib/mrblib.o* * compile *build/host/mrblib/mrblib.c* to *build/host/mrblib/mrblib.o*
* create *build/host/lib/libmruby.a* out of all object files (C and Ruby) * create *build/host/lib/libmruby.a* out of all object files (C and Ruby)
* create ```build/host/bin/mruby``` by compiling *tools/mruby/mruby.c* and * create ```build/host/bin/mruby``` by compiling *mrbgems/mruby-bin-mruby/tools/mruby/mruby.c* and
linking with *build/host/lib/libmruby.a* linking with *build/host/lib/libmruby.a*
* create ```build/host/bin/mirb``` by compiling *tools/mirb/mirb.c* and * create ```build/host/bin/mirb``` by compiling *mrbgems/mruby-bin-mirb/tools/mirb/mirb.c* and
linking with *build/host/lib/libmruby.a* linking with *build/host/lib/libmruby.a*
``` ```
...@@ -311,9 +312,9 @@ result will be stored in *build/i386/src/y.tab.c*) ...@@ -311,9 +312,9 @@ result will be stored in *build/i386/src/y.tab.c*)
under *mrblib* with the native ```build/host/bin/mrbc``` under *mrblib* with the native ```build/host/bin/mrbc```
* cross-compile *build/host/mrblib/mrblib.c* to *build/host/mrblib/mrblib.o* * cross-compile *build/host/mrblib/mrblib.c* to *build/host/mrblib/mrblib.o*
* create *build/i386/lib/libmruby.a* out of all object files (C and Ruby) * create *build/i386/lib/libmruby.a* out of all object files (C and Ruby)
* create ```build/i386/bin/mruby``` by cross-compiling *tools/mruby/mruby.c* and * create ```build/i386/bin/mruby``` by cross-compiling *mrbgems/mruby-bin-mruby/tools/mruby/mruby.c* and
linking with *build/i386/lib/libmruby.a* linking with *build/i386/lib/libmruby.a*
* create ```build/i386/bin/mirb``` by cross-compiling *tools/mirb/mirb.c* and * create ```build/i386/bin/mirb``` by cross-compiling *mrbgems/mruby-bin-mirb/tools/mirb/mirb.c* and
linking with *build/i386/lib/libmruby.a* linking with *build/i386/lib/libmruby.a*
* create *build/i386/lib/libmruby_core.a* out of all object files (C only) * create *build/i386/lib/libmruby_core.a* out of all object files (C only)
* create ```build/i386/bin/mrbc``` by cross-compiling *tools/mrbc/mrbc.c* and * create ```build/i386/bin/mrbc``` by cross-compiling *tools/mrbc/mrbc.c* and
......
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