Lines Matching full:clang
1 The biggest problem when trying to compile U-Boot with clang is that
2 almost all archs rely on storing gd in a global register and clang user
3 manual states: "clang does not support global register variables; this
22 sudo apt-get install clang
25 CROSS_COMPILE. To compile U-Boot with clang on linux without IAS use e.g.:
26 make HOSTCC=clang rpi_2_defconfig
27 make HOSTCC=clang CROSS_COMPILE=arm-linux-gnueabi- \
28 CC="clang -target arm-linux-gnueabi" -j8
31 make HOSTCC=clang sandbox_defconfig
32 make HOSTCC=clang CC=clang -j8
42 # The following commands compile U-Boot using the clang xdev toolchain.
46 gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd" -j8
55 exec clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd "$@"