Lines Matching +full:opt +full:- +full:in
8 GNU-based cross toolchain.
12 from the net. Unlike toolchains specifically listed in
15 toolchain set-up mechanism itself is supported.)
21 For example, you might install the ``gcc-arm-none-eabi`` package on
22 Debian-based Linux systems, or ``arm-none-eabi-newlib`` on Fedora or Red
25 .. code-block:: console
28 sudo apt-get install gcc-arm-none-eabi
30 sudo dnf install arm-none-eabi-newlib
34 - Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``cross-compile``.
35 - Set ``CROSS_COMPILE`` to the common path prefix which your
39 #. To check that you have set these variables correctly in your current
43 .. code-block:: console
47 cross-compile
49 /usr/bin/arm-none-eabi-
53 When using this option, all of your toolchain binaries must reside in the same
55 is set to the directory concatenated with the file name prefix. In the Debian
56 example above, the ``gcc-arm-none-eabi`` package installs binaries such as
57 ``arm-none-eabi-gcc`` and ``arm-none-eabi-ld`` in directory ``/usr/bin/``, so
58 the common prefix is ``/usr/bin/arm-none-eabi-`` (including the trailing dash,
59 ``-``). If your toolchain is installed in ``/opt/mytoolchain/bin`` with binary
60 names based on target triplet ``myarch-none-elf``, ``CROSS_COMPILE`` would be
61 set to ``/opt/mytoolchain/bin/myarch-none-elf-``.