Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated build instructions for RedHat based systems #117

Merged
merged 2 commits into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```