Debian Codegraph @

cross/armclang-linux.txt

raw
1 # Using ARM compilers from Linux command line is tricky and
2 # not really well documented because they want you to use
3 # their IDE instead.
4 #
5 # First you need to do the full install with the IDE and set
6 # up license files et al. This may be possible from the command
7 # line.
8 #
9 # Then you need to do the following:
10 #
11 # Select toolchain by running /opt/arm/developmentstudio-2019.0/bin/select_default_toolchain
12 # Armcc is only available in toolchain version 5.
13 # Armclang is only available in toolchain version 6.
14 # Start shell with /opt/arm/developmentstudio-2019.0/bin/suite_exec zsh
15 # Now the compilers will work.
16
17 [binaries]
18 # we could set exe_wrapper = qemu-arm-static but to test the case
19 # when cross compiled binaries can't be run we don't do that
20 c = ['/opt/arm/developmentstudio-2019.0/sw/ARMCompiler6.12/bin/armclang', '--target=aarch64-arm-none-eabi']
21 #c = '/opt/arm/developmentstudio-2019.0/sw/ARMCompiler5.06u6/bin/armcc'
22 #cpp = '/usr/bin/arm-linux-gnueabihf-g++'
23 ar = '/opt/arm/developmentstudio-2019.0/sw/ARMCompiler6.12/bin/armar'
24 #strip = '/usr/arm-linux-gnueabihf/bin/strip'
25 #pkg-config = '/usr/bin/arm-linux-gnueabihf-pkg-config'
26
27 [host_machine]
28 system = 'baremetal'
29 cpu_family = 'arm'
30 cpu = 'armv7' # Not sure if correct.
31 endian = 'little'