Page 1 of 1

Supermodel is successfully compiling on CLANG!!!

PostPosted: Sun Oct 25, 2020 1:55 pm
by zuppa_di_pesce
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)

Re: Supermodel is successfully compiling on CLANG!!!

PostPosted: Mon Dec 27, 2021 8:20 pm
by dmanlfc
Awesome - thanks for posting.