psplibraries in psptoolchain #18

Merged
merged 23 commits into from Apr 27, 2012

Projects

None yet

4 participants

Contributor
  • 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
readme-ubuntu.txt
@@ -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
ooPo Mar 2, 2012 Owner

Can you provide a check script for mercurial?

WinterMute
WinterMute Mar 3, 2012 Contributor

why do we need mercurial at all?

@ooPo ooPo commented on the diff Mar 2, 2012
readme.txt
@@ -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
ooPo Mar 2, 2012 Owner

Mercurial should also be added here.

@ooPo ooPo commented on an outdated diff Mar 2, 2012
scripts/005-gcc-stage2.sh
+ ## Exit on errors
+ set -e
+
+ ## Download the source code.
+ wget --continue ftp://ftp.gnu.org/pub/gnu/gcc/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.bz2
+
+ ## Download the library source code.
+ wget --continue ftp://ftp.gmplib.org/pub/gmp-5.0.2/gmp-5.0.2.tar.bz2
+ wget --continue http://www.multiprecision.org/mpc/download/mpc-0.8.2.tar.gz
+ wget --continue http://www.mpfr.org/mpfr-3.1.0/mpfr-3.1.0.tar.bz2
+
+ ## 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
ooPo Mar 2, 2012 Owner

What is this cheeze stuff?

Owner
ooPo commented Mar 2, 2012

I like the changes, only have these minor comments.

Contributor

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?

Contributor

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?

Contributor

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.

Owner
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 check-git.sh 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