Announcement

Collapse
No announcement yet.

Installing ps2dev for Fedora

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installing ps2dev for Fedora

    Well I used Fedora 8 on this but will work about the same for any other. This is for people that are having a problem getting ps2toolchain to compile & ps2sdk.

    Run the following command as root in the terminal

    Code:
    yum install kernel-devel
    You should have updated the kernel with the regular updates but just in case also run this
    Code:
    yum install kernel-headers
    Afterwards lets install the development tools just in case you haven't already.

    Code:
    yum groupinstall "development-tools"
    yum install mpfr-devel
    yum install compat-gcc*
    yum install subversion
    Now lets install wget if you haven't already.
    Code:
    yum install wget
    Time to edit the login
    Code:
    gedit /home/???/.bashrc
    replace ??? with your username for your directory. Then add the following lines at the end

    Code:
     export PS2DEV=/usr/local/ps2dev
     export PATH=$PATH:$PS2DEV/bin
     export PATH=$PATH:$PS2DEV/ee/bin
     export PATH=$PATH:$PS2DEV/iop/bin
     export PATH=$PATH:$PS2DEV/dvp/bin
     export PS2SDK=$PS2DEV/ps2sdk
     export PATH=$PATH:$PS2SDK/bin
    Restart the terminal and enter the following command

    Code:
     cd /usr/local
    Login back as root and type the following commands in the terminal

    Code:
    svn checkout svn://ps2dev.org/ps2/trunk/ps2toolchain
    cd ps2toolchain
    Now execute the following commands
    Code:
    export CC=gcc34
    ./toolchain.sh
    Process will take awhile but once the process is fully done update the ps2sdk fully with the following command.

    Code:
    svn checkout http://svn.ps2dev.org/trunk/ps2sdk && cd ps2sdk
    make
    make install
    Afterwards you should be all setup with ps2toolchain & ps2sdk. I've done this twice and so far no problems compiling sources. I myself am new at this but this will get you started, hope it helps beginners with ps2dev & linux.

  • #2
    Nice. Always good to see people using Linux.

    I wrote a similar tutorial for Ubuntu:
    http://gshi.org/vb/showthread.php?t=3158

    Just a tip: you should not check out from SVN to /usr/local/. Use your home folder (~) for this.

    Comment


    • #3
      Well either way it works out. And yeah Linux is the ideal operating system for programming and compiling. Windows can be a pain in the rear end with this stuff and using a pre-compiled SDK isn't that much safe because sometimes it can cause build issues and users will never notice it and keep wondering why it screws it.. I was successful with using that winsg or whatever for the PSP but thats because they had a pretty good pre-compiled SDK.

      Comment


      • #4
        Exactly. On Linux, all the parts fit together very well and you can build the toolchain almost out of the box.

        Cygwin and MinGW on Windows just give you a (bitter) foretaste of what you can do on a real Linux distribution.
        Last edited by misfire; 08-07-2009, 05:12:38 AM.

        Comment

        Working...
        X