diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-05-06 22:53:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-05-07 08:38:46 +0900 |
| commit | 8c0dc55af89ddef79cb2de63197fc78d22bca348 (patch) | |
| tree | fcf7f87d5605682c1942ae70607ed74c866fbe22 /doc | |
| parent | 8c04379a4c874ad1c3e576264c0d6a16b5ac6688 (diff) | |
| download | mruby-8c0dc55af89ddef79cb2de63197fc78d22bca348.tar.gz mruby-8c0dc55af89ddef79cb2de63197fc78d22bca348.zip | |
Update `doc/guides/compile.md` to note the `bison` failure on Mac.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guides/compile.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/guides/compile.md b/doc/guides/compile.md index ba23fcfb4..d7937bb2e 100644 --- a/doc/guides/compile.md +++ b/doc/guides/compile.md @@ -6,12 +6,16 @@ binaries. ## Prerequisites To compile mruby out of the source code you need the following tools: -* C Compiler (e.g. `gcc`) -* Linker (e.g. `gcc`) +* C Compiler (e.g. `gcc` or `clang`) +* Linker (e.g. `gcc` or `clang`) * Archive utility (e.g. `ar`) * Parser generator (e.g. `bison`) * Ruby 2.0 or later (e.g. `ruby` or `jruby`) +Note that `bison` bundled with MacOS is too old to compile `mruby`. +Try `brew install bison` and follow the instuction shown to update +the `$PATH` to compile `mruby`. + Optional: * GIT (to update mruby source and integrate mrbgems easier) * C++ compiler (to use GEMs which include \*.cpp, \*.cxx, \*.cc) |
