Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
download:sac2c [2022/02/03 09:29] – sbs | download:sac2c [2022/02/03 11:58] (current) – removed sbs | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Installing the sac2c Eco System ==== | ||
- | To get started, you need to install the compiler `sac2c` and the standard library `Stdlib`. Both of them can either be installed via a precompiled package or from sources. | ||
- | |||
- | === Installation via packages === | ||
- | |||
- | Please choose the package that matches your OS best: | ||
- | |||
- | < | ||
- | <panel type=" | ||
- | The '' | ||
- | |||
- | Choose and download the appropriate [[bin|packages (sac2c #and# stdlib)]]. | ||
- | Thereafter you can install them via: | ||
- | < | ||
- | $ sudo dnf install sac2c-VERSION-RELEASE.rpm | ||
- | </ | ||
- | or | ||
- | < | ||
- | $ sudo rpm --install sac2c-VERSION-RELEASE.rpm | ||
- | </ | ||
- | </ | ||
- | <panel type=" | ||
- | |||
- | The '' | ||
- | |||
- | Choose and download the appropriate [[bin|packages (sac2c #and# stdlib)]]. | ||
- | Thereafter you can install them via: | ||
- | < | ||
- | $ sudo dpkg --install sac-VERSION-RELEASE.deb | ||
- | </ | ||
- | or | ||
- | < | ||
- | $ sudo apt install sac-VERSION-RELEASE.deb | ||
- | </ | ||
- | </ | ||
- | <panel type=" | ||
- | |||
- | The '' | ||
- | |||
- | |||
- | Choose and download the appropriate [[bin|packages (sac2c #and# stdlib)]]. | ||
- | Thereafter you can install them via: | ||
- | - Double click the downloaded '' | ||
- | - A dialog box should appear that will guide you through the install process | ||
- | - Confirm that you agree with our license, and click //Install// to install SaC | ||
- | - The binaries '' | ||
- | |||
- | NB: The SaC binaries are postfixed by their release type (production or debug), so there is a '' | ||
- | </ | ||
- | <panel type=" | ||
- | While we do not currently support a native Windows version, you can still use it through a virtualisation layer | ||
- | of your choosing. The easiest way to use '' | ||
- | for Linux support, the Windows Subsystem for Linux (WSL). | ||
- | To do this, you have to do four things: | ||
- | - You need to activate the developer mode of Windows. (Settings -> Update & Security -> For developers -> tick the Developer Mode) | ||
- | - You need to activate the WSL. (Control Panel -> Programs -> Programs & Features -> Turn Features On & Off -> tick Windows Subsystem for Linux) | ||
- | - Go to the Microsoft Store and choose a Linux Distribution of your choice, e.g, Ubuntu 18.04 LTS. | ||
- | |||
- | |||
- | Choose and download the [[bin|packages (sac2c #and# stdlib)]] that match your chosen Linux Distribution. | ||
- | Thereafter you can install them using that system' | ||
- | |||
- | After that, you should have the sac system up and running! | ||
- | </ | ||
- | <panel type=" | ||
- | The '' | ||
- | |||
- | For simplicities sake, an install script is provided. It supports several flags, but the most important one is '' | ||
- | |||
- | <alert type=" | ||
- | |||
- | Installation of the compiler is as simple as extracting from the archive: | ||
- | < | ||
- | $ mkdir ~/ | ||
- | $ tar -xzf sac2c-VERSION-RELEASE.tar.gz | ||
- | $ nano README | ||
- | $ bash ./ | ||
- | $ cd ~ && rm -rf temp_extract | ||
- | </ | ||
- | </ | ||
- | |||
- | </ | ||
- | |||
- | ==== Contribute? ==== | ||
- | |||
- | Interested in contributing to the project? You can do so in several ways, by either telling us about bugs or by contributing code to the project. | ||
- | |||
- | === Reporting bugs === | ||
- | |||
- | Head over to the [[: | ||
- | |||
- | === Contributing code === | ||
- | |||
- | * Create an account on this site by [[: | ||
- | * and send an email to [[info@sac-home.org]] indicating that you'd like to have access to the compiler sources. |