This is a modified version of the pspsdk toolchain.sh script found in the psptoolchain folder. I have no idea if it will work with cygwin but I beleve that it will.
I've added a "-sudocmd" option incase that the toolchain can't do anything cus of lack of administrator access. After you hit enter after entering the line (example: "./toolchain -a -e -sudocmd"), you will be prompt for a password. You will have to enter an administrator password or a password to an account that has administrative abilities.
I've added 2 pspsdk folder location arguments if you have manualy downloaded the pspsdk folder from another computer and transfered it to a computer that has an svn connection problem. To use the pspsdk folder location commands you must type:
-If it is in the psptoolchain folder that is on the desktop: "--sdkl-desktop"
-If it is in the psptoolchain folder that is in the home folder: "--sdkl-home"
Im still debuging this part, so please dont use this till the next update which will be soon.
Before you copy the toolchain.sh script, you must first back-up the original one incase my modified toolchain.sh script doesn't work right. After backing-up, copy the toolchain.sh script to the psptoolchain folder that's in the home folder or on the desktop.