Files
scst/README.clang
Bart Van Assche d10a7bf5d5 Restore support for building with clang
The previous commit removed support for building with clang. Restore support
for building with clang without breaking cross-compilation support.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-05 21:23:17 +00:00

20 lines
569 B
Plaintext

Building SCST With Clang
========================
Clang is a C compiler that is an alternative for gcc. SCST can be built as
follows with clang:
1. Install clang.
2. Download the Linux kernel source code and also the SCST source code.
3. Build at least the modules_prepare Linux kernel make target.
cd $HOME/software/linux-kernel
make CC=clang modules_prepare
5. Build SCST using any of the supported build methods. An example:
export KDIR=$HOME/software/linux-kernel
export PASS_CC_TO_MAKE=1
export CC=clang
cd scst.git
make rpm