psplibraries in psptoolchain #18

merged 23 commits into from Apr 27, 2012


None yet

4 participants

  • From my experience psplibraries should be included in psptoolchain.
  • 'v' option passed to tar is just annoying.
  • .gitignore for cleaner "git status"
  • Update gcc version.(built fine)
  • Remove version number from script's file name.
  • Git checker, install notification to install psplibraries.
  • Script to build psptoolchain locally.
@ooPo ooPo and 1 other commented on an outdated diff Mar 2, 2012
@@ -2,7 +2,7 @@
## Install the required packages.
sudo apt-get install g++ build-essential autoconf automake bison flex \
libncurses5-dev libreadline-dev libusb-dev texinfo libgmp3-dev \
- libmpfr-dev libelf-dev libmpc-dev subversion
+ libmpfr-dev libelf-dev libmpc-dev mercurial subversion unzip git
ooPo Mar 2, 2012 Owner

Can you provide a check script for mercurial?

WinterMute Mar 3, 2012 Contributor

why do we need mercurial at all?

@ooPo ooPo commented on the diff Mar 2, 2012
@@ -14,7 +14,7 @@
1) Set up your environment by installing the following software:
autoconf, automake, bison, flex, gcc, g++/gcc-c++, libusb-dev, make, ncurses,
- patch, readline, subversion, texinfo, wget, mpc, gmp, libelf, mpfr
+ patch, readline, subversion, texinfo, wget, mpc, gmp, libelf, mpfr, git
ooPo Mar 2, 2012 Owner

Mercurial should also be added here.

@ooPo ooPo commented on an outdated diff Mar 2, 2012
+ ## Exit on errors
+ set -e
+ ## Download the source code.
+ wget --continue$GCC_VERSION/gcc-$GCC_VERSION.tar.bz2
+ ## Download the library source code.
+ wget --continue
+ wget --continue
+ wget --continue
+ ## Unpack the source code.
+ rm -Rf gcc-$GCC_VERSION
+ tar xfj gcc-$GCC_VERSION.tar.bz2
+ ## Extra step for gdc: unpack and move into gcc
ooPo Mar 2, 2012 Owner

What is this cheeze stuff?

ooPo commented Mar 2, 2012

I like the changes, only have these minor comments.


I've tried GDC(D in GCC) from @TurkeyMan but it was bit difficult so I'll remove it.
So mercurial and unzip will not be required.

Awww, you removed D :(
What was the major problem? I really wanted to spend more time playing with D on consoles.
Any chance you could work that back in to the script on a command line option?


Looks like there's far too much cruft in this patchset to even think about merging it in. Removing the verbose options from archive extraction is reasonable, really don't see the need to mess with old versions of tools and libraries or pull in gdc. GDC is incredibly difficult to maintain so I really wouldn't bother until they manage to get it maintained along with FSF upstream - there was talk of that happening for 4.7 not sure if it got anywhere.

It missed 4.7, but it'll be in 4.8, though they've dropped support for GCC <4.6 to do it, which makes me a little concerned for all of these console toolchains :/
Can/will they all be updated to 4.6?


Assuming you mean 4.8 rather than 4.6 I don't see any particular reason why not.

Well I really meant >= 4.6, but 4.8 is always nice :)
Will it ever actually happen though?

I think the true tragedy is the PS2 toolchain, which seems to be lost to the ages... I still like toying with that machine, one of the more interesting machines ever made.

ooPo commented Mar 4, 2012

With the GDC stuff removed, this pull request is basically:

  • Some cleanup: .gitignore, un-verbose unpacking, build script version number consolidation
  • Adding psplibraries to the build.
  • A leftover and a mention of git in the two readme files.

Remove the leftover stuff and I'd be willing to do the merge, but I will leave the decision up to WinterMute as he's much more active here than I.

@ooPo ooPo merged commit 8c95cf0 into pspdev:master Apr 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment