Redox: A Rust Operating System
Go to file
2018-09-18 16:13:33 -06:00
.cargo Use -unknown- instead of -elf- 2017-08-07 15:35:37 -07:00
bin Fix extrautils build 2018-02-27 21:14:07 -07:00
docgen@c1326c9b07 Update submodules 2018-06-10 11:12:57 -06:00
pkgutils@f0f58dde36 Update submodules 2018-06-10 11:12:57 -06:00
recipes Add example driver 2018-09-18 16:13:33 -06:00
.gitignore Add sysroot to .gitignore 2017-07-06 14:28:06 -07:00
.gitmodules Update submodules 2018-06-10 11:12:57 -06:00
clean.sh Move xargo home to xargo, use cross compiler 2017-06-19 19:48:35 -06:00
config.sh Fix extrautils build 2018-02-27 21:14:07 -07:00
cook.sh Don't print note to STDERR 2018-04-19 08:55:31 +02:00
fetch.sh Fix -e 2017-06-04 19:13:57 -06:00
LICENSE Initial commit 2016-10-31 11:19:57 -06:00
README.md Remove travis ci badge in readme 2017-12-23 21:43:37 -05:00
repo.sh Fix repo script 2017-10-29 16:20:46 -06:00
setup.sh Fix ci maybe 2017-12-23 20:20:11 -05:00
status_origin.sh Add diff subcommands 2017-10-11 20:31:35 -06:00
status_upstream.sh Add upstream status script 2017-10-11 20:24:40 -06:00
status.sh Update status script 2017-10-11 20:19:43 -06:00
unfetch.sh Add unfetch script 2017-11-26 09:12:26 -07:00
update.sh Check for source, not build, when updating 2017-07-26 20:35:07 -06:00
Xargo.toml Enable 'backtrace' feature in libstd, to allow backtraces 2017-08-03 21:29:14 -07:00

cookbook

A collection of package recipes for Redox.

MIT licensed

Setup

Ubuntu and other Debian based systems

To install the toolchain, run the following commands:

# 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:

# 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

 # 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:

# 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