Deprecated: Assigning the return value of new by reference is deprecated in /var/www/psdevWiki/inc/parserutils.php on line 161

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/psdevWiki/inc/parserutils.php on line 164

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/psdevWiki/inc/parserutils.php on line 294

Deprecated: Function split() is deprecated in /var/www/psdevWiki/inc/auth.php on line 97

Warning: Cannot modify header information - headers already sent by (output started at /var/www/psdevWiki/inc/parserutils.php:161) in /var/www/psdevWiki/inc/auth.php on line 180

Deprecated: Function split() is deprecated in /var/www/psdevWiki/inc/common.php on line 552

Warning: Cannot modify header information - headers already sent by (output started at /var/www/psdevWiki/inc/parserutils.php:161) in /var/www/psdevWiki/inc/actions.php on line 71
psp:toolchain [psDevWiki]
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /var/www/psdevWiki/inc/template.php on line 154
 
Table of Contents

PSPDEV Toolchain

The PSPDEV toolchain is based on GCC 4.0.1, Binutils 2.16, and Newlib 1.13.0. A script to build it can be downloaded from ooPo’s consoledev website.

http://oopo.net/consoledev/

However, it requires a reasonably unix-like environment to run. Under windows, Cygwin can be used to provide this functionality.

http://www.cygwin.com/

Cygwin

It is possible to setup the PSPDEV toolchain in Cygwin, however you must make sure that the following packages are installed:

to make it easier to find these packages click the view button in the cygwin installer once

  • autoconf 2.59 (or greater)
  • automake 1.7 (or greater)
  • bash
  • coreutils
  • diffutils
  • gcc
  • gcc-core
  • gcc-g++
  • grep
  • gzip
  • make
  • patch
  • patchutils
  • sed
  • subversion
  • tar
  • wget

Please note that selecting the above packages will cause other packages to be selected as well, do not deselect them as they are dependancies of the above. Also, do not remove the packages that cugwin auto selects for you unless you really know what you’re doing; most of the time you’ll end up excluding something critical.

It is recomended that you also install:

  • less
  • more

You should make sure that CR LF translation (aka DOS mode) is not active when setting up cygwin, otherwise the build shall fail with unhelpfull assorted error message.

Todo

  • Add support for VFPU instructions to the assembler (gas) and disassembler.
  • Add support for Allegrex instructions and VFPU instructions to GCC.
  • Add support for building native PSP Relocatable Executable (PRX) files to the linker (ld).

Bugs

If you believe you’ve found a bug in the PSPDEV toolchain, you can report it to the PSP Development Forums found at http://forums.ps2dev.org/. Please include a minimal testcase that can be used to reproduce the bug. You should also include all of the output given by executing the command: psp-gcc -v.

The PSPDEV toolchain is not part of the official GNU toolchain (yet). Do not send bug reports to the official developers of GCC or binutils.

 

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /var/www/psdevWiki/inc/template.php on line 523
psp/toolchain.txt · Last modified: 2008/05/15 00:07
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki