Skip to content

Commit

Permalink
Update patching.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SnailMath authored May 11, 2021
1 parent 4aefb10 commit b66e761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/user/patching.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export TARGET=sh4-elf
export PATH="$PREFIX/bin:$PATH"
```

Now, download the most recent stable version of the Binutils source code from the [Binutils website](https://gnu.org/software/binutils/). Extract the compressed file containing the source code into a directory, and `cd` into the newly created directory. Then, run these commands inside that directory.
Now, download the most recent stable version of the Binutils source code from the [Binutils website](https://gnu.org/software/binutils/). Extract the compressed file containing the source code into a directory, and `cd` into the newly created directory. Then, run these commands inside that directory. (SnailMath is using version 2.35)

```sh
mkdir build
Expand All @@ -37,7 +37,7 @@ sudo make install

You'll now have tools such as `sh4-elf-as` and `sh4-elf-objcopy` available.

Now, download the most recent stable version of the GCC source code from the [GCC website](https://gnu.org/software/gcc/). Extract the compressed file containing the source code into a directory, and `cd` into the newly created directory. Then, run these commands inside that directory. Be warned - the `make` commands may take a long time, depending on your system, and the `contrib/download_prerequisites` script will download about 30 MB of archives.
Now, download the most recent stable version of the GCC source code from the [GCC website](https://gnu.org/software/gcc/). Extract the compressed file containing the source code into a directory, and `cd` into the newly created directory. Then, run these commands inside that directory. Be warned - the `make` commands may take a long time, depending on your system, and the `contrib/download_prerequisites` script will download about 30 MB of archives. (SnailMath is using version 10.2.0)

```sh
contrib/download_prerequisites
Expand Down

0 comments on commit b66e761

Please sign in to comment.