layout | toc_group | link_title | permalink |
---|---|---|---|
docs-experimental |
ruby |
Installing Make and GCC |
/reference-manual/ruby/InstallingLLVM/ |
Since TruffleRuby 24.0.0, TruffleRuby no longer needs a LLVM toolchain and instead uses the system toolchain. The packages below are required to build C and C++ extensions.
sudo dnf install make gcc gcc-c++
gcc-c++
is only necessary for building C++ extensions.
sudo apt-get install make gcc g++
g++
is only necessary for building C++ extensions.
On macOS, make sure you have installed the command line developer tools from Xcode:
xcode-select --install