From c28d39dc136f95877b473ece1577a1c3e6baaa31 Mon Sep 17 00:00:00 2001
From: Paul <sajattack@gmail.com>
Date: Mon, 30 Oct 2017 08:53:42 -0700
Subject: [PATCH] Add instructions for Arch and other distros

---
 README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/README.md b/README.md
index 16db9ea5a..89ddf37e8 100644
--- a/README.md
+++ b/README.md
@@ -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
+ ```
+ 
-- 
GitLab