summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorTERAJIMA, Motoyuki <[email protected]>2013-04-15 00:40:53 +0900
committerTERAJIMA, Motoyuki <[email protected]>2013-04-15 00:40:53 +0900
commitd0d5594ea05c21135f5757dcc904fe03fe9a7c82 (patch)
treea55665cd7461aa369b3166c4caf18991ea0cb434 /doc
parent6dc931aaae2a84df8d938d33de05d6fedfd310a4 (diff)
downloadmruby-d0d5594ea05c21135f5757dcc904fe03fe9a7c82.tar.gz
mruby-d0d5594ea05c21135f5757dcc904fe03fe9a7c82.zip
Update doc/compile/README.md about mruby and mirb
Diffstat (limited to 'doc')
-rw-r--r--doc/compile/README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/compile/README.md b/doc/compile/README.md
index e555d7f7a..5e803a9e1 100644
--- a/doc/compile/README.md
+++ b/doc/compile/README.md
@@ -77,13 +77,14 @@ in ```ANDROID_STANDALONE_TOOLCHAIN```.
It is possible to select which tools should be compiled during the compilation
process. The following tools can be selected:
-* mrbc (mruby compiler)
* mruby (mruby interpreter)
* 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
@@ -237,9 +238,9 @@ linking with *build/host/lib/libmruby_core.a*
under *mrblib* with ```build/host/bin/mrbc```
* 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/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*
-* 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*
```
@@ -311,9 +312,9 @@ result will be stored in *build/i386/src/y.tab.c*)
under *mrblib* with the native ```build/host/bin/mrbc```
* 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/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*
-* 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*
* 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