Installation
Linux
Prerequisite Installation
Arch/Antergos
$ sudo pacman -Syyu
$ sudo pacman -S make gcc flex bison
CentOS/RHEL/Scientific Linux/Fedora
$ sudo yum update
$ sudo yum group install "Development Tools"
Fedora 22+
$ sudo dnf upgrade --refresh
$ sudo dnf groupinstall "Development Tools"
$ sudo dnf groupinstall "C Development Tools and Libraries"
Debian/Ubuntu/Mint
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential flex flexc++ bison bisonc++
Cross-Assembler
To use the Xita Cross-Compiler, we need a compliant AArch64 cross-compiler. Using the command below will uncompress the cross-assembler into the correct location for Xita internal use.
NOTE: Xita expects the cross assembler to reside in ~/.opt/cross.
$ cd XCSL-AArch64/
$ tar xf aarch64-assembler.tar.xz -C $HOME
Cloning and Installing
$ git clone https://github.com/CodeusTech/Xita-AArch64
$ cd Xita-AArch64
[ Xita-AArch64]$ make install
# You can test that it is working correctly by running the following test
[ Xita-AArch64]$ tests/run-tests
# Alternatively, you can build Xita in './_build/' without installing
# it to '/usr/bin/' (overwriting previous installation).
[Xita-AArch64]$ make build