forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ps2client & cygwin

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Orfax
Guest





PostPosted: Fri Feb 13, 2004 11:01 am    Post subject: ps2client & cygwin Reply with quote

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. :)
Back to top
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Feb 13, 2004 2:45 pm    Post subject: Reply with quote

Grab the latest version. That was fixed a while ago. :)
Back to top
View user's profile Send private message Visit poster's website
Orfax
Guest





PostPosted: Mon Feb 16, 2004 8:21 am    Post subject: Reply with quote

:oops:
Thanks ooPo. Grabbed and built.

Is there a reason why ps2dev-toolchain.sh gets version 1.0.2 instead of the latest?
Back to top
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Feb 16, 2004 1:20 pm    Post subject: Reply with quote

Yes. I was waiting for pixel to release his gcc patch before I whipped up a new version of the script. Look for a new script soon assuming no really big bugs are found in the patch.

Sorry for the mixup, btw. I've only recently started testing with cygwin.
Back to top
View user's profile Send private message Visit poster's website
Orfax
Guest





PostPosted: Tue Feb 17, 2004 7:51 am    Post subject: Reply with quote

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.
Back to top
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Feb 17, 2004 8:06 am    Post subject: Reply with quote

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*
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group