-
Notifications
You must be signed in to change notification settings - Fork 107
GettingStarted
Jonathan Brossard edited this page May 27, 2024
·
4 revisions
This page documents how to download, compile and install WCC.
The official codebase of the Witchcraft Compiler Collection is hosted on github at https://github.com/endrazine/wcc/ . It uses git modules, so some extra steps are needed to fetch all the code including depedencies. To download the source code of wcc, in a terminal, type:
git clone https://github.com/endrazine/wcc.git
cd wcc
git submodule init
git submodule update
This will create a directory named wcc and fetch all required source code in it.
The Witchcraft Compiler Collection requires the following software to be installed:
Glibc, libbfd, libdl, zlib, libelf, libreadline, libgsl.
Under ubuntu/debian those dependancies can be installed with the following command:
sudo apt-get install -y clang libbfd-dev uthash-dev libelf-dev libcapstone-dev libreadline-dev libiberty-dev libgsl-dev build-essential git debootstrap file
From your root wcc directory, type:
make
Then to install wcc, type:
sudo make install
WCC makes use of doxygen to generate its documentation. From the root wcc directory, type
make documentation