Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
book
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amir
book
Commits
7501a497
Commit
7501a497
authored
Mar 03, 2018
by
SamwiseFilmore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clear up the documentation for setting up and compiling
parent
26679a19
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
11 deletions
+8
-11
src/SUMMARY.md
src/SUMMARY.md
+1
-1
src/getting_started/installing_the_toolchain.md
src/getting_started/installing_the_toolchain.md
+5
-3
src/getting_started/preparing_the_build.md
src/getting_started/preparing_the_build.md
+2
-7
No files found.
src/SUMMARY.md
View file @
7501a497
...
...
@@ -21,8 +21,8 @@
-
[
Getting started
](
./getting_started/getting_started.md
)
-
[
Trying Redox in a virtual machine
](
./getting_started/try_vm.md
)
-
[
Running Redox on real hardware
](
./getting_started/real_hardware.md
)
-
[
Preparing the build
](
./getting_started/preparing_the_build.md
)
-
[
Installing the toolchain
](
./getting_started/installing_the_toolchain.md
)
-
[
Preparing the build
](
./getting_started/preparing_the_build.md
)
-
[
Compiling Redox
](
./getting_started/compiling_redox.md
)
-
[
Exploring Redox
](
./getting_started/exploring_redox.md
)
-
[
Questions and feedback
](
./getting_started/asking_questions_giving_feedback.md
)
...
...
src/getting_started/installing_the_toolchain.md
View file @
7501a497
Installing the toolchain
========================
The redox toolchain is required in order to compile certain parts of redox. This basically entails installing a patched version of gcc.
### Ubuntu and other Debian based systems
To install the toolchain, run the following commands:
...
...
@@ -20,11 +22,11 @@ sudo apt install x86-64-unknown-redox-gcc
### Arch Linux
To install the toolchain, run the following commands:
```
bash
```
bash
# Clone libc
git clone
--recursive
git@github.com:redox-os/libc
# Go to the packages
# Go to the packages
cd
libc/packages/arch
# Start with binutils
...
...
@@ -50,7 +52,7 @@ To install the toolchain, run the following commands:
### Other distros/Mac OS X
To install the toolchain, run the following commands:
```
bash
```
bash
# Clone libc
git clone
--recursive
git@github.com:redox-os/libc
...
...
src/getting_started/preparing_the_build.md
View file @
7501a497
...
...
@@ -55,7 +55,7 @@ $ brew install redox-os/gcc_cross_compilers/x86_64-elf-gcc
Setting Up Nightly Rust
-----------------------
While the following step is not _required_, it is recommended. If you already have a functioning Rust nightly installation, you can skip this step:
The following step is not required _if_ you already have a functioning Rust nightly installation. Nightly is required.
We will use
`rustup`
to manage our Rust versions:
...
...
@@ -63,12 +63,7 @@ We will use `rustup` to manage our Rust versions:
$
curl https://sh.rustup.rs
-sSf
| sh
```
Rustup will install the
`stable`
version of Rust. To run Redox, you have to install the
`nightly`
version of Rust, like this:
```
sh
$
rustup toolchain
install
nightly
$
rustup override
set
nightly
```
You may need to run rustup to install the recommended nightly version.
There is one more tool we need from Rust to install Redox. It is called Xargo. Xargo allows us to have a custom
`libstd`
```
sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment