Convert build/docs/*.rst (top-level and mozbuild/) to MyST-flavored
Markdown.
- Keep build/docs/mozbuild-symbols.rst as RST. The mozbuildsymbols
custom directive emits nodes that confuse autosectionlabel when
wrapped in a MyST eval-rst block.
- Keep build/docs/supported-configurations.rst as RST so that
docs/contributing/build/supported.md can continue to use the MyST
{include} directive on the original source.
- Refresh allowed-warnings globs to match the .md filenames for
code-quality, contributing, crash-reporting, gtest, jsloader, js,
overview, setup, and js/build.
Differential Revision: https://phabricator.services.mozilla.com/D304226
446 B
446 B
Cross-compilation
If you are planning to perform cross-compilation e.g. for Linux/Aarch64, you
will probably want to use experimental feature --enable-bootstrap in your
.mozconfig. Then, you just have to specify the the target arch, after which
the build system will automatically set up the sysroot.
For example, cross-compiling for Linux/Aarch64:
ac_add_options --target=aarch64-linux-gnu
ac_add_options --enable-bootstrap