by zuppa_di_pesce » Sun Oct 25, 2020 1:55 pm
As a mere exercise in style, here's the steps (for ArchLinux):
- Code: Select all
### install clang
sudo pacman -S clang
### create a new modified Makefile
cp /path/to/Supermodel/svn/sources/Makefiles/Makefile.UNIX /path/to/Supermodel/svn/sources/Makefiles/MakefileCLANG.UNIX
### set correct CLANG path inside MakefileCLANG.UNIX
#
# Toolchain
#
CC = /usr/bin/clang-10
CXX = /usr/bin/clang++
LD = /usr/bin/clang-10
### create/update the symbolic link to the newly created MakefileCLANG.UNIX
ln -sf /path/to/Supermodel/svn/sources/Makefiles/MakefileCLANG.UNIX /path/to/Supermodel/svn/sources/Makefile
### it's compiling time!
make -j$(nproc)
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"