diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-09-21 12:00:00 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-09-21 12:00:00 +0900 |
| commit | a12a9bfb8f5f047a1e0be6f21ddec0d7819bf7ec (patch) | |
| tree | 364f6b1f2d0fa6293d9b4b29444ab7c998e33cec /INSTALL | |
| parent | 5f7b0580b75e2fd88d886ecf181a211b9273af7c (diff) | |
| parent | b7fc0f95e5fc6f54f025dcd8aabf37cbec438653 (diff) | |
| download | mruby-a12a9bfb8f5f047a1e0be6f21ddec0d7819bf7ec.tar.gz mruby-a12a9bfb8f5f047a1e0be6f21ddec0d7819bf7ec.zip | |
Merge pull request #2595 from drbrain/80_column_README
Wrap README, etc. to 80 columns
Diffstat (limited to 'INSTALL')
| -rw-r--r-- | INSTALL | 33 |
1 files changed, 18 insertions, 15 deletions
@@ -1,27 +1,30 @@ * Prerequisites - 1. Make sure you have bison (http://www.gnu.org/software/bison/) installed in your system. + 1. Make sure you have bison (http://www.gnu.org/software/bison/) installed in + your system. 2. Make sure you have ruby installed in your system (required to build). + * Compilation and Installation 1. Run make in the top directory. - This command will create a build directory with a directory for the host environment - and one for each crossbuild environment based on the settings in the build_config.rb - file. + This command will create a build directory with a directory for the host + environment and one for each crossbuild environment based on the settings + in the build_config.rb file. - Assuming a default build, each of the environment directories will have the following - important directories: + Assuming a default build, each of the environment directories will have + the following important directories: * bin - The binary executables for this environment * lib - The libraries for this environment - You can find the header files in the include directory at the root of the project. + You can find the header files in the include directory at the root of the + project. You can directly invoke 'minirake' with the following command: - $ ruby ./minirake + $ ruby ./minirake If an error occurs when compiling mruby, it will be helpful for others if you send a detailed report to the developers that includes the error log, machine, @@ -30,19 +33,19 @@ and OS type. * Adding existing gems -Gems from the [list of mruby gems](http://www.mruby.org/libraries/) can be added by adding -their respective GitHub URLs to build_config.rb. For example, to add implementations of the -File and IO Ruby core classes to mruby, insert the following in build_config.rb under the -comment section `Use mrbgems`: +Gems from the [list of mruby gems](http://www.mruby.org/libraries/) can be +added by adding their respective GitHub URLs to build_config.rb. For example, +to add implementations of the File and IO Ruby core classes to mruby, insert +the following in build_config.rb under the comment section `Use mrbgems`: conf.gem :git => '[email protected]:iij/mruby-io.git', :branch => 'master' - Afterwards, re-run: +Afterwards, re-run: - ruby ./minirake + ruby ./minirake * Porting to other platforms - That's all. + |
