Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
d470163b
Commit
d470163b
authored
Feb 13, 2021
by
KOBAYASHI Shuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update compile prerequisites in `doc/guides/compile.md` [ci skip]
Bison and gperf are optional.
parent
adb50df7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
doc/guides/compile.md
doc/guides/compile.md
+7
-7
No files found.
doc/guides/compile.md
View file @
d470163b
...
...
@@ -10,19 +10,20 @@ To compile mruby out of the source code you need the following tools:
*
C Compiler (e.g.
`gcc`
or
`clang`
)
*
Linker (e.g.
`gcc`
or
`clang`
)
*
Archive utility (e.g.
`ar`
)
*
Parser generator (
`bison`
)
*
Ruby 2.5 or later (e.g.
`ruby`
or
`jruby`
)
Optional:
*
Git (to update mruby source and integrate mrbgems easier)
*
C++ compiler (to use mrbgems which include
`*.cpp`
,
`*.cxx`
,
`*.cc`
)
*
Bison (to compile
`mrbgems/mruby-compiler/core/parse.y`
)
*
gperf (to compile
`mrbgems/mruby-compiler/core/keywords`
)
Note that
`bison`
bundled with MacOS is too old to compile
`mruby`
.
Try
`brew install bison`
and follow the instruction shown to update
the
`$PATH`
to compile
`mruby`
. We also encourage to upgrade
`ruby`
on MacOS in similar manner.
Optional:
*
git (to update mruby source and integrate mrbgems easier)
*
C++ compiler (to use GEMs which include
\*
.cpp,
\*
.cxx,
\*
.cc)
## Build
To compile
`mruby`
with the default build configuration, just invoke
`rake`
...
...
@@ -468,7 +469,6 @@ proceeds like this:
*
create binary commands according to binary gems (e.g.
`mirb`
and
`mruby`
)
*
copy binaries under
`build/host/bin`
to
`bin`
directory
```
_______________________________________________________________
| Native Compilation for Host System |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment