On this page
End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
MakeMakefile
mkmf.rb is used by Ruby C extensions to generate a Makefile which will correctly compile and link the C extension to Ruby and a third-party library.
Class methods 2
Instance methods 31
Command which will translate C files to assembler sources in the generated Makefile
Command which will translate C++ files to assembler sources in the generated Makefile
Extensions for files compiled with a C compiler
Makefile rules that will clean the extension build directory
Common headers for Ruby C extensions
Common libraries for Ruby C extensions
Command which will compile C files in the generated Makefile
Command which will compile C++ files in the generated Makefile
make compile rules
The makefile configuration using the defaults from when Ruby was built.
Extensions for files compiled with a C++ compiler
Extensions for header files
Argument which will add a library to the linker
Argument which will add a library path to the linker
Command which will link a shared library
A C main function which does no work
Extensions for source files
Command which will compile a program in order to test linking a library