Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
c28d39dc
Unverified
Commit
c28d39dc
authored
7 years ago
by
Paul Sajna
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add instructions for Arch and other distros
parent
ccc99d4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!90
Add instructions for Arch and other distros
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+45
-0
45 additions, 0 deletions
README.md
with
45 additions
and
0 deletions
README.md
+
45
−
0
View file @
c28d39dc
...
...
@@ -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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment