I installed the ps2dev environment in cygwin on windows xp. For some reason I do not have gasp and I need it for openvcl, where can i find it?
Nevermind, I found it:
As most will notice, gasp has been removed from newer versions of the
binutils. To reduce the loss of this tool, the contrib/ folder contains
a version of MASP. This version is slightly modified to fix a bug with
comments, and does the job of replacing gasp a lot easier. To enable the
use of this tool, compile and install it, and then pass '--gasp "masp"' as
an argument to OpenVCL. MASP is licensed under the GPL, please read the MASP
documentation for licensing terms.
Taking a look at http://playstation2-linux.com/projects/vcl/ will give you a better compiler than what openvcl is at the current state, we never finished openvcl enough to compete with the official tools (since they were released while we were developing that tool). However, the replacement for gasp in openvcl will help you with the sony-provided tool as well.
Thank you for the suggestion. I also found another project there called vuc to allow you to write higher level code kinda like c which is then compiled and passed to vcl. Sounds like a pretty nice tool, I'll have to check them out.
Just a note, I tried it out but vcl does not like masp because it will not read from stdin. So just pipe it from masp to vcl, something like: masp file | vcl
The version of masp included with openvcl seemed to segfault quite a bit so I ended up downloading the source from http://cosmos.raunvis.hi.is/~johannos/masp/ and compiling that. There were a few things that I had to edit to make it compile though.