all: compile and link using clang, where possible

This commit is contained in:
Ayke van Laethem
2018-11-22 13:24:13 +01:00
parent 4a8ced590b
commit 62d74d8329
15 changed files with 133 additions and 100 deletions
+4 -5
View File
@@ -24,11 +24,10 @@ ARM LLVM backend (which is even used in the propietary C compiler from ARM).
Compiling to object code should be supported out of the box, but compiling the
final binary and flashing it needs some extra tools.
* binutils (``arm-none-eabi-objcopy``) for producing .hex files for
flashing.
* GCC (``arm-none-eabi-gcc``) for linking object files.
* Clang 7 (``clang-7``) for building the `compiler runtime library
<https://compiler-rt.llvm.org/>`_.
* binutils (``arm-none-eabi-ld``, ``arm-none-eabi-objcopy``) for linking and
for producing .hex files for flashing.
* Clang 7 (``clang-7``) for building assembly files and the `compiler
runtime library <https://compiler-rt.llvm.org/>`_ .
* The flashing tool for the particular chip, like ``openocd`` or
``nrfjprog``.