aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-07-11 11:13:36 +0100
committerGitHub <noreply@github.com>2018-07-11 11:13:36 +0100
commit9a93d8ccff0abe225bfabbed7970075640f90de4 (patch)
tree012ea8874fdad102385555faf820562347c402e8 /docs
parent89a793425b52c7f563eb07984fd79198471ce61c (diff)
parent4a98f0ef4c135ce7e1016a3c0fa3d75b6a54630b (diff)
downloadplatform_external_arm-trusted-firmware-9a93d8ccff0abe225bfabbed7970075640f90de4.tar.gz
platform_external_arm-trusted-firmware-9a93d8ccff0abe225bfabbed7970075640f90de4.tar.bz2
platform_external_arm-trusted-firmware-9a93d8ccff0abe225bfabbed7970075640f90de4.zip
Merge pull request #1460 from robertovargas-arm/clang
Make TF compatible with Clang assembler and linker
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/user-guide.rst b/docs/user-guide.rst
index 087305d12..da260264a 100644
--- a/docs/user-guide.rst
+++ b/docs/user-guide.rst
@@ -62,8 +62,8 @@ given Linaro Release. Also, these `Linaro instructions`_ provide further
guidance and a script, which can be used to download Linaro deliverables
automatically.
-Optionally, TF-A can be built using clang or Arm Compiler 6.
-See instructions below on how to switch the default compiler.
+Optionally, TF-A can be built using clang version 4.0 or newer or Arm
+Compiler 6. See instructions below on how to switch the default compiler.
In addition, the following optional packages and tools may be needed:
@@ -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'.