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
ff66b93f
Unverified
Commit
ff66b93f
authored
7 years ago
by
Jeremy Soller
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #92 from dlrobertson/add_gentoo_docs
Add documentation for Gentoo Linux
parents
49544f56
09acaa7f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+27
-12
27 additions, 12 deletions
README.md
with
27 additions
and
12 deletions
README.md
+
27
−
12
View file @
ff66b93f
...
@@ -25,45 +25,60 @@ sudo apt install x86-64-unknown-redox-gcc
...
@@ -25,45 +25,60 @@ sudo apt install x86-64-unknown-redox-gcc
### Arch Linux
### Arch Linux
To install the toolchain, run the following commands:
To install the toolchain, run the following commands:
```
bash
```
bash
# Clone libc
# Clone libc
git clone
--recursive
git@github.com:redox-os/libc
git clone
--recursive
git@github.com:redox-os/libc
# Go to the packages
# Go to the packages
cd
libc/packages/arch
cd
libc/packages/arch
# Start with binutils
# Start with binutils
cd
binutils
cd
binutils
makepkg
-si
makepkg
-si
# Then autoconf
# Then autoconf
cd
../autoconf
cd
../autoconf
makepkg
-si
makepkg
-si
# Then gcc-freestanding
# Then gcc-freestanding
cd
../gcc-freestanding
cd
../gcc-freestanding
makepkg
-si
makepkg
-si
# Then newlib
# Then newlib
cd
../newlib
cd
../newlib
makepkg
-si
makepkg
-si
# Finally gcc
# Finally gcc
cd
../gcc
cd
../gcc
makepkg
-si
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
### Other distros/Mac OS X
To install the toolchain, run the following commands:
To install the toolchain, run the following commands:
```
bash
```
bash
# Clone libc
# Clone libc
git clone
--recursive
git@github.com:redox-os/libc
git clone
--recursive
git@github.com:redox-os/libc
# Run the setup script
# Run the setup script
cd
libc
cd
libc
./setup.sh all
./setup.sh all
# Add the tools to your path
# Add the tools to your path
export
PATH
=
$PATH
:/path/to/libc/build/prefix/bin
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