Skip to content

Commit

Permalink
Updated build instructions for RedHat based systems (#117)
Browse files Browse the repository at this point in the history
* Added deps for RH distros to readme
Improved markdown formatting
  • Loading branch information
NortheLo authored Oct 24, 2023
1 parent 8406898 commit 0359891
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,40 @@
How do I use it?
==================

1) Set up your environment by installing the following software:
## Set up your environment by installing the following software:

autoconf, automake, bison, flex, gcc, libelf, make, makeinfo,
ncurses, patch, python, subversion, wget, zlib, libtool, python,
bzip2, gmp, pkg-config, g++, libssl-dev, clang

## Linux
### Linux

Specifically on debian-based systems, the following command line should
be enough to install everything necessary:
For Debian based distros:

```bash
apt-get install autoconf automake bison flex gcc libelf-dev make \
texinfo libncurses5-dev patch python subversion wget zlib1g-dev \
libtool libtool-bin python-dev bzip2 libgmp3-dev pkg-config g++ libssl-dev clang
```

## macOS
For RedHat distros:

```bash
sudo dnf install bison flex gcc elfutils-libelf-devel make python path \
wget zlib-devel libtool python3-devel bzip2 gmp-devel pkg-config gcc \
openssl-devel texinfo ncurses-devel
```

### macOS

On macOS systems, if you have [Homebrew](http://brew.sh) package manager, the following command line should
be enough to install everything necessary:

```bash
brew install autoconf automake openssl libelf ncurses zlib gmp wget pkg-config
brew install autoconf automake openssl libelf ncurses zlib gmp wget pkg-config
```

2) Add the following to your login script:
## Add the following variables to your bash config:
```bash
export PS3DEV=/usr/local/ps3dev
export PSL1GHT=$PS3DEV
Expand All @@ -46,7 +53,7 @@ brew install autoconf automake openssl libelf ncurses zlib gmp wget pkg-config
export PATH=$PATH:$PS3DEV/spu/bin
```

3) Run the toolchain script:
## Run the toolchain script:
```bash
./toolchain.sh
```

0 comments on commit 0359891

Please sign in to comment.