Skip to content
Snippets Groups Projects
Unverified Commit c2493974 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #90 from sajattack/patch-1

Add instructions for Arch and other distros
parents ccc99d4c c28d39dc
No related branches found
No related tags found
No related merge requests found
......@@ -22,3 +22,48 @@ sudo apt update
# Install the cross compiler
sudo apt install x86-64-unknown-redox-gcc
```
### Arch Linux
To install the toolchain, run the following commands:
```bash
# Clone libc
git clone --recursive git@github.com:redox-os/libc
# Go to the packages
cd libc/packages/arch
# Start with binutils
cd binutils
makepkg -si
# Then autoconf
cd ../autoconf
makepkg -si
# Then gcc-freestanding
cd ../gcc-freestanding
makepkg -si
# Then newlib
cd ../newlib
makepkg -si
# Finally gcc
cd ../gcc
makepkg -si
```
### Other distros/Mac OS X
To install the toolchain, run the following commands:
```bash
# Clone libc
git clone --recursive git@github.com:redox-os/libc
# Run the setup script
cd libc
./setup.sh all
# Add the tools to your path
export PATH=$PATH:/path/to/libc/build/prefix/bin
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment