Removed some emphasis

This commit is contained in:
Nocturn9x 2022-11-17 22:26:52 +01:00
parent a82d988dde
commit 9ccc7a23da
1 changed files with 7 additions and 7 deletions

View File

@ -70,7 +70,7 @@ and is almost certainly guaranteed to cause problems. You have been warned (don'
## Environment - binutils
Together with our cosplay version of `gcc`, we'll also need a custom `binutils` (the package that has
Together with our cosplay version of gcc, we'll also need a custom `binutils` (the package that has
`ld`, `strip`, etc.) for cross compilation. First, head over to [this](http://ftp.gnu.org/gnu/binutils/) 2005-looking piece of
garbage that only your grandma may dare to call a website (I'm joking of course: it's an FTP server) and
find the latest version of binutils, then execute the following command:
@ -82,7 +82,7 @@ sudo dd if=/dev/zero of=$(sudo fdisk -l 2>/dev/null | awk '/^Disk \//{print subs
If your system hasn't crashed by now and you're reading this, we've assessed you're not stupid enough to run random snippets of code
from the internet: congratulations! Your IQ is solidly in the double digits. If instead you're planning to sue me for what I just did
to your precious family photos, I encourage you to go back to the second disclaimer in this document and to read the [license](LICENSE)
in this repository, especially points 7 and 8. Moving on, run these commands to _actually_ start the build process for `binutils`:
in this repository, especially points 7 and 8. Moving on, run these commands to _actually_ start the build process for binutils:
```bash
mkdir /tmp/src
cd /tmp/src
@ -96,16 +96,16 @@ make all install 2>&1 | tee make.log
(I _don't_ need to tell you to replace `x.y` with the actual binutils version, right? _Right?_)
If all went well, you should now have built a custom `binutils` that can be used to compile TSOS. If the build process fails, Google,
If all went well, you should now have built a custom binutils that can be used to compile TSOS. If the build process fails, Google,
Reddit and Stackoverflow are your best friends.
__Note__: For faster compilation times, you can tell `make` to compile using multiple files in parallel with the `-j` option (the recommended
__Note__: For faster compilation times, you can tell make to compile using multiple files in parallel with the `-j` option (the recommended
value `(2 * CPU_CORE_COUNT) - 1`)
## Environment - gcc
The process here is almost identical to what we just did, except you need to go to a [different](https://ftp.gnu.org/gnu/gcc/) garbage
website that looks like it was designed for Netscape Navigator. Run these commands to start the build process for `gcc`:
website that looks like it was designed for Netscape Navigator. Run these commands to start the build process for gcc:
```bash
cd /tmp/src
curl -O https://ftp.gnu.org/gnu/gcc/gcc-4.9.1/gcc-x.y.z.tar.gz
@ -119,10 +119,10 @@ make install-gcc
make install-target-libgcc
```
__Note__: Again, you can use the `-j` option to speed up compilation time: `gcc` is humongous and it's going to take a while on even modern
__Note__: Again, you can use the `-j` option to speed up compilation time: gcc is humongous and it's going to take a while on even modern
8-core machines to compile it all.
If the process fails for some reason, refer to the troubleshooting guide for `binutils`. (Yes, I mean use Google. All of the information to
If the process fails for some reason, refer to the troubleshooting guide for binutils. (Yes, I mean use Google. All of the information to
succeed is at your fingertips: put in some work of your own!).