cross-compile.rst (502B)
1 ================= 2 Cross-compilation 3 ================= 4 5 If you are planning to perform cross-compilation e.g. for Linux/Aarch64, you 6 will probably want to use experimental feature ``--enable-bootstrap`` in your 7 ``.mozconfig``. Then, you just have to specify the the target arch, after which 8 the build system will automatically set up the sysroot. 9 10 For example, cross-compiling for Linux/Aarch64: 11 12 .. code-block:: text 13 14 ac_add_options --target=aarch64-linux-gnu 15 ac_add_options --enable-bootstrap