Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 748 Bytes

installing-llvm.md

File metadata and controls

34 lines (24 loc) · 748 Bytes
layout toc_group link_title permalink
docs-experimental
ruby
Installing Make and GCC
/reference-manual/ruby/InstallingLLVM/

Installing Make and GCC

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.

Fedora-based: RHEL, Oracle Linux, etc

sudo dnf install make gcc gcc-c++

gcc-c++ is only necessary for building C++ extensions.

Debian-based: Ubuntu, etc

sudo apt-get install make gcc g++

g++ is only necessary for building C++ extensions.

macOS

On macOS, make sure you have installed the command line developer tools from Xcode:

xcode-select --install