From 51678feb53c1d97bb25b53ddaae1bed1694cc7f8 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Fri, 15 Mar 2019 20:17:28 -0600 Subject: [PATCH] Remove toolchain stuff from README --- README.md | 80 ++----------------------------------------------------- 1 file changed, 2 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index 1604f845c..7c823038d 100644 --- a/README.md +++ b/README.md @@ -3,81 +3,5 @@ A collection of package recipes for Redox. [](./LICENSE) -## Setup - -### Ubuntu and other Debian based systems - -To install the toolchain, run the following commands: -```bash -# Get the Redox OS APT key -sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F - -# Install the APT repository -sudo add-apt-repository 'deb https://static.redox-os.org/toolchain/apt /' - -# Update your package lists -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 - ``` - -### Gentoo Linux -```bash - # Clone libc - git clone --recursive git@github.com:redox-os/libc - - # Install needed tools - emerge -a =sys-devel/autoconf-2.64 =sys-devel/automake-1.11.6-r2 - - # Run the setup script - cd libc - PREFIX=<your preferred toolchain prefix> ./setup.sh all - - # Add the tools to your path - export PATH=$PATH:<toolchain prefix>/bin -``` - -### 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 - ``` +In order for this repository to be useful, it must be set up with an environment +from the [Redox repository](https://gitlab.redox-os.org/redox-os/redox). -- GitLab