| View previous topic :: View next topic |
| Author |
Message |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Wed Apr 29, 2009 10:53 pm Post subject: GCC 4.4.0 and PSP Toolchain |
|
|
Will GCC 4.4.0 work with the last PSP Toolchain patch? (was generated for 4.3.2)
We are falling behind, I'm not really the person to go poking around diff files because I'll definitely miss something. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Apr 30, 2009 5:32 am Post subject: |
|
|
| The toolchain doesn't work with 4.3.3, so I'd guess that's probably a "no". |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Apr 30, 2009 8:50 am Post subject: |
|
|
| J.F. wrote: | | The toolchain doesn't work with 4.3.3, so I'd guess that's probably a "no". |
*Sigh*
Is that because of the fact that binutils is out of date too? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Apr 30, 2009 9:07 am Post subject: |
|
|
| Wally wrote: | | J.F. wrote: | | The toolchain doesn't work with 4.3.3, so I'd guess that's probably a "no". |
*Sigh*
Is that because of the fact that binutils is out of date too? |
Possibly. It does tend to lag behind the compiler as far as being kept up to date goes. I'm certain some updates to gcc REQUIRE the latest binutils as well or kablooey! It's usually more of a problem with the c++ compiler than the rest. |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Thu Apr 30, 2009 6:03 pm Post subject: |
|
|
more important than gcc 4.4 is to update binutils. I'm trying to create packages for linux similar to my windows ones, and managed to build a working sdk but there is a bug with binutils and the host compiler gcc 4.3.3.
Upgrading binutils is complicated, I've tryed to manually patch the 1.17 version using the 1.16 patch and even though i managed to merge the changes and compiled the assembler was broken.
We need to look better to it and upgrade from 1.16 to 1.19.
Once i finish my scripts I'll post a patch for the linux build scripts that allows us to build the SDK without needing to downgrade the host gcc to 4.2 |
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Thu Apr 30, 2009 11:07 pm Post subject: |
|
|
| are you that guy who makes minpspw i always get you mixed up with someone else |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Fri May 01, 2009 4:50 am Post subject: |
|
|
yes :)
heimdall == jetcube |
|
| Back to top |
|
 |
slasher2661996
Joined: 22 Feb 2009 Posts: 91 Location: Melbourne Australia ZOMG
|
Posted: Fri May 01, 2009 9:14 am Post subject: |
|
|
| in what language :P |
|
| Back to top |
|
 |
jsharrad
Joined: 20 Oct 2005 Posts: 102
|
Posted: Fri May 01, 2009 9:46 am Post subject: |
|
|
| What have the upgrades to gcc & binutils given us other than headaches and more threads on the toolchain not compiling properly? Have there been any advantages? Are there any advantages to further upgrading? |
|
| Back to top |
|
 |
hlide
Joined: 10 Sep 2006 Posts: 750
|
Posted: Fri May 01, 2009 10:16 am Post subject: |
|
|
| jsharrad wrote: | | What have the upgrades to gcc & binutils given us other than headaches and more threads on the toolchain not compiling properly? Have there been any advantages? Are there any advantages to further upgrading? |
I heard gcc 4.4.0 has better overall optimization. |
|
| Back to top |
|
 |
Kreationz
Joined: 18 May 2008 Posts: 53
|
Posted: Fri May 01, 2009 1:56 pm Post subject: GCC 4.4.0 |
|
|
Also doesn't it have more MIPS specific optimizations. We are programming for the PSP... >_>
Also, better optimization is something some us need *cough* DX64 *cough* |
|
| Back to top |
|
 |
Kreationz
Joined: 18 May 2008 Posts: 53
|
Posted: Wed May 06, 2009 8:44 am Post subject: Just a question. |
|
|
| Who would be the individual in charge of doing something like this? |
|
| Back to top |
|
 |
jsharrad
Joined: 20 Oct 2005 Posts: 102
|
Posted: Wed May 06, 2009 8:49 am Post subject: |
|
|
| Whoever feels like it, do it yourself, make sure it works, and submit a patch if you like. ;) |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
|
| Back to top |
|
 |
DataMatrix
Joined: 01 May 2009 Posts: 3 Location: Sofia, Bulgaria
|
Posted: Thu May 07, 2009 12:18 am Post subject: |
|
|
I would like to ask if http://ps2dev.org/psp/Tools/Toolchain/psptoolchain-20070626.tar.bz2 is the latest package?
I fail to compile both on Debian 5 and Ubuntu 9.04 (Intel Core Duo (Ubuntu 9.04 and virtual machine debian5) and AMD Athlon64 (debian 5) systems)
(running as recommended: CC=gcc-4.2 ./toolchain.sh
It just stops with
| Code: | make[1]: Leaving directory `/usr/local/pspdev/build/newlib-1.15.0/build-psp'
make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.
|
_________________ null |
|
| Back to top |
|
 |
Kreationz
Joined: 18 May 2008 Posts: 53
|
Posted: Thu May 07, 2009 2:53 am Post subject: |
|
|
| jsharrad wrote: | | Whoever feels like it, do it yourself, make sure it works, and submit a patch if you like. ;) |
Ehh.. I use VisC++ Express w/Heimdall's package so this wouldn't be my forte, however I believe Wally is working on it. I was just wondering who is in charge the the toolchain. |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu May 07, 2009 8:43 am Post subject: |
|
|
| Kreationz wrote: | | jsharrad wrote: | | Whoever feels like it, do it yourself, make sure it works, and submit a patch if you like. ;) |
Ehh.. I use VisC++ Express w/Heimdall's package so this wouldn't be my forte, however I believe Wally is working on it. I was just wondering who is in charge the the toolchain. |
Its a bit out of my league. |
|
| Back to top |
|
 |
matt_hargett
Joined: 16 Jun 2009 Posts: 1 Location: Mountain View, CA
|
Posted: Tue Jun 16, 2009 7:55 am Post subject: |
|
|
The loop transformation/optimization improvements in GCC 4.4 should be a huge boon to a somewhat cache-limited platform like the PS2. You just have to make sure that you build with CLOOG, PPL, and MPFR support.
On top of this, being able to use the additional C++0x language features would allow nice code improvements in open source emulators/code written in C++.
If anyone has trouble getting this to work, let me know and I'll try to help. |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Wed Jun 17, 2009 6:07 pm Post subject: |
|
|
the current gcc 4.3.3 buils already with MPFR and GMP, can you detail what are the requirements and how easy is to build the remaining CLOOG and PPL on Linux/Windows/Unix?
I've tryed long time ago with my windows box but didn't manage to build them (i didn't spent too much time into it) if you have some cookbook on how to do it that would be great! |
|
| Back to top |
|
 |
|