Building
Table of contents
- Building Frida
Building Frida
Prerequisites
You need:
- C/C++ toolchain
- Node.js >= 18
- Git
For example on an Ubuntu system:
Getting the code
Building for the native machine
To build, run:
Which will use ./build
as the build directory. Run make install
to install.
You may also do ./configure
first to specify a --prefix
, or any other
options. Use --help
to list the top-level options.
For setting lower level options, do:
The options after --
are passed directly to Meson’s setup
command. This
means you can also pass project options to subprojects, e.g.:
Consult meson.options
in subprojects/* for available options. You may also
clone the different repos standalone and build the same way as described here.
Building for a different machine
iOS/watchOS/tvOS
Android
Raspberry Pi
Building out-of-tree
Sometimes you may want to use a single source tree to build for multiple
systems or configurations. To do this, invoke configure
from an empty
directory outside the source tree: