diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2018-04-23 08:38:12 +0100 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2018-07-11 09:23:07 +0100 |
commit | 4a98f0ef4c135ce7e1016a3c0fa3d75b6a54630b (patch) | |
tree | 760bf6cfed1c0a8e0d78825eef9888ec870cf992 /docs | |
parent | 7040155e58a67cfca0776f5ca6348c7c8da68a49 (diff) | |
download | platform_external_arm-trusted-firmware-4a98f0ef4c135ce7e1016a3c0fa3d75b6a54630b.tar.gz platform_external_arm-trusted-firmware-4a98f0ef4c135ce7e1016a3c0fa3d75b6a54630b.tar.bz2 platform_external_arm-trusted-firmware-4a98f0ef4c135ce7e1016a3c0fa3d75b6a54630b.zip |
Update documentation about how to use clang toolchain
Change-Id: Ie65eb779b048940cf32ed5744ff40610b3c5499d
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user-guide.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/user-guide.rst b/docs/user-guide.rst index f85b92341..6044ee2fb 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -103,10 +103,14 @@ Building TF-A export CROSS_COMPILE=<path-to-aarch32-gcc>/bin/arm-linux-gnueabihf- - It is possible to build TF-A using clang or Arm Compiler 6. To do so - ``CC`` needs to point to the clang or armclang binary. Only the compiler - is switched; the assembler and linker need to be provided by the GNU - toolchain, thus ``CROSS_COMPILE`` should be set as described above. + It is possible to build TF-A using Clang or Arm Compiler 6. To do so + ``CC`` needs to point to the clang or armclang binary, which will + also select the clang or armclang assembler. Be aware that the + GNU linker is used by default. In case of being needed the linker + can be overriden using the ``LD`` variable. Clang linker version 6 is + known to work with TF-A. + + In both cases ``CROSS_COMPILE`` should be set as described above. Arm Compiler 6 will be selected when the base name of the path assigned to ``CC`` matches the string 'armclang'. |