A collection of package recipes for Redox.
Find a file
2017-11-17 23:11:10 -08:00
.cargo Use -unknown- instead of -elf- 2017-08-07 15:35:37 -07:00
docgen@67119659a4 Update docgen, run on source rather than build directory 2017-10-14 08:50:03 -06:00
pkgutils@7c9f14af43 Update pkgutils 2017-11-06 15:12:23 -07:00
recipes Merge branch 'xz-fix' 2017-11-17 23:11:10 -08:00
.gitignore Add sysroot to .gitignore 2017-07-06 14:28:06 -07:00
.gitmodules Run docgen when installing a package 2017-10-14 07:59:35 -06:00
.travis.yml Move ci script 2016-12-29 20:44:45 -07:00
clean.sh Move xargo home to xargo, use cross compiler 2017-06-19 19:48:35 -06:00
config.sh Use -unknown- instead of -elf- 2017-08-07 15:35:37 -07:00
cook.sh Cleanup LLVM build in Rust recipe 2017-11-10 09:46:31 -07: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 Add documentation for Gentoo Linux 2017-10-31 13:19:02 +00:00
repo.sh Fix repo script 2017-10-29 16:20:46 -06:00
setup.sh Go back to using gcc.sh from libc-artifacts 2017-06-19 16:28:42 -06:00
status.sh Update status script 2017-10-11 20:19:43 -06: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
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.

Travis Build Status 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