Hi ,
I'm trying to install the ps2 sdk on my Linux . I've downloaded the ps2toolchain on ps2dev.org , and I've run the toolchain-sudo.sh .... Now , what I must do ?
Please help my , i'm a newbies !
P.S: SORRY FOR MY ENGLISH BUT I'M ITALIAN !!!!
PS2 SDK on Linux !
I myself just installed Ubuntu (Sick of Cygwin!) to develop for PS2/PSP as well....
Since your question is some what vague... I'm going just to offer this suggestion:
Be sure that you export the proper environment variables prior to compilation for PS2/PSP. Read the included readme.txt from the toolchain as it will contain all the variables you need.
Here is a helpful tidbit for anyone who reads this....
1. Create a file and call it environ_ps2.sh
2. Within this file enter the following:
3. When ever you want to develop for PS2 just type the following prior to compiling you code:
4. This is assuming you are using bash as your shell....obviously.
P.S.
What distro are you using? I have to say that Ubuntu is really good! I find myself spending more time on it then Vista!
Since your question is some what vague... I'm going just to offer this suggestion:
Be sure that you export the proper environment variables prior to compilation for PS2/PSP. Read the included readme.txt from the toolchain as it will contain all the variables you need.
Here is a helpful tidbit for anyone who reads this....
1. Create a file and call it environ_ps2.sh
2. Within this file enter the following:
Code: Select all
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
Code: Select all
source environ_ps2.sh
P.S.
What distro are you using? I have to say that Ubuntu is really good! I find myself spending more time on it then Vista!
Well... since i work on many platforms for my engine I finished creating a little environment script that i use for building all my platforms with one command. Though I'm not finished as I work on Dreamcast and Gp2X this file should prove useful for those who work on PS2, PSP and linux.
Be sure not to use the quotes.
Usage from command line: "source environ.sh [value]"
Calling file from another fIle: ". environ.sh [value]"
value: 1=PSP, 2=PS2, 3=LINUX
Be sure not to use the quotes.
Usage from command line: "source environ.sh [value]"
Calling file from another fIle: ". environ.sh [value]"
value: 1=PSP, 2=PS2, 3=LINUX
Code: Select all
#!/bin/bash
# Environments for Specific Platforms
# environ.sh by SX ([email protected])
case $1 in
1) # PSP environment?
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
echo "PSP Environment Loaded!"
;;
2) # PS2 environment?
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
echo "PS2 Environment Loaded!"
;;
3) # Linux environment?
export LNXDEV=/usr/bin
export PATH=$PATH:$LNXDEV
echo "Linux Environment Loaded!"
;;
*) # Wrong Value?
echo "Value Not Supported!"
echo "1 = PSP"
echo "2 = PS2"
echo "3 = Linux"
;;
esac