This is just informational for anyone who wants to know.
ps2client cannot be built with cygwin (currently). Cygwin is missing the MSG_DONTWAIT flag in the recv() system call. (Incidently it is also missing from AIX as well).
To fix, cygwin would need to have MSG_DONTWAIT flag implemented, or ps2client changed to setup the socket non-blocking before the recv. As I have no way of testing the change (I don't have the ethernet adaptor for my PS2 yet) I'll leave it for someone else. :)
ps2client & cygwin
Thats OK, other than this problem it should work fine.
Another issue that could arise is if a cygwin package hasn't been installed that the build process needs. I had this with autotools-devl. I only installed the autotools-stable package but needed the devl autotools to build IOP gcc. Detection could be done, but could be a pain, particularly to maintain.
I guess it depends how complex you want to make your script. At the moment its nice and easy to follow, but could fall over at certain points, like missing required system packages when building, bad download of a file, etc.
Good job on the script, BTW.
Another issue that could arise is if a cygwin package hasn't been installed that the build process needs. I had this with autotools-devl. I only installed the autotools-stable package but needed the devl autotools to build IOP gcc. Detection could be done, but could be a pain, particularly to maintain.
I guess it depends how complex you want to make your script. At the moment its nice and easy to follow, but could fall over at certain points, like missing required system packages when building, bad download of a file, etc.
Good job on the script, BTW.
Problems with iop-gcc, eh? That'll probably disappear in the near future as gcc-2.x goes away and people start using ps2-gcc instead.
To be honest, it was designed to run inside a 'proper' unix environment. Cygwin actually working was a nice bonus. I leave it as an exercise to the user to provide a complete set of tools to build things with. :) In practice, I just install the development package and it works. *shrug*
To be honest, it was designed to run inside a 'proper' unix environment. Cygwin actually working was a nice bonus. I leave it as an exercise to the user to provide a complete set of tools to build things with. :) In practice, I just install the development package and it works. *shrug*