The official PlayStation SDK is illegal, and often cryptic. Also it seems to be based on a very old GCC version (2.8.1), and I don't think it will integrate with MSYS or Cygwin well.
My PSXSDK has a precompiled Cygwin toolchain. Read readme.txt inside the archive, it should explain you how to install it.
Basically this is it:
1) Download setup.exe from
www.cygwin.com, and install Cygwin using it.
2) Extract my archive to C:
3) Now start the Cygwin shell, and execute:
PATH=$PATH:/cygdrive/c/psxsdk/bin
4) Now to compile an executable for the PlayStation, use psx-gcc. Example:
psx-gcc -o my_game my_game.c
-lpsx is automatically included so you don't have to include it.
An ELF format executable for the MIPS R3000 processor is output.
The PlayStation can't read this executable format, so you will have to convert it to PS-X EXE format, which is its executable format.
5) Now to convert your executable to PS-X EXE format:
elf2exe my_game my_game.exe
6) You can load my_game.exe on your PlayStation in the way you like.
CDROM, Caetla (should work, but never tried), etc.
To generate a CDROM image that you can burn on your PlayStation,
read the instructions (readme.txt) in the PSXSDK source code.
In few words, you first have to make a normal ISO image with mkisofs,
and then you must license it with mkpsxiso. mkpsxiso outputs a .cue/.bin image,
ready to be burned and which will work either with the swap trick or a modchip.
Read the full instruction in readme.txt anyway.
You have to install mkisofs on cygwin (I don't remember if it is contained in cdrtools or it is separate..)
The license files are in C:\psxsdk\share\licenses
infousa.dat is the USA license, infoeur.dat is the EUR license and infojpn.dat is the JPN license. A normal ISO won't work on the PlayStation, it lacks license information.
I hope you enjoy it. If you meet big bugs, maybe they're fixed in the next version. In any case let me know if you want the not-released-yet version. The version I'm developing has SPU support and even a modplayer.
The only documentation is for now, headers, source code and the examples (PSXPaint and PSXSnake).
I think you can discuss any PSX software development kit, be it official or homebrew.