I just got hooked on Go but I don't think I'm a good enough programmer to make this run on GP2X. GNU Go can be found here.
RiX0R posted on Dec 9 2005 at 10:25 PM said:Just cross-compiling won't be very useful by itself I guess, because it runs from a terminal.
So an additional (SDL) GUI needs to be written.
I've just managed to compile GNU Go into my SDL program... on to the interface! (And afterwards a cross-compile... stay tuned)
Parkydr posted on Dec 9 2005 at 11:18 PM said:The point of my original post was that now sterm is available it might be possible to run GNU Go without modification. I agree that a proper SDL program will be far better but will take longer than the hour it took me to produce a version for sterm.
RiX0R posted on Dec 10 2005 at 12:42 AM said:Parkydr posted on Dec 9 2005 at 11:18 PM said:The point of my original post was that now sterm is available it might be possible to run GNU Go without modification. I agree that a proper SDL program will be far better but will take longer than the hour it took me to produce a version for sterm.
You're right. I'm way too short-sighted today...
In any case, I just tried it under sterm, and it does indeed work.
Could you explain in a bit more detail how you did get it to compile for arm-linux? Seeing as I'm going to have to go through the same thing shortly... I'd very much appreciate some prior caveats .
Edit: the game does not need extra "thinking delay". It's taking its merry time as it is right now: on the average 30 seconds to a minute for a move (during the opening, I'm guessing the response speed may increase when the number of possible moves is reduced and the game gets to use its cache).
woogal posted on Dec 10 2005 at 12:49 AM said:No, which is why a lot of stuff is compiled with soft-float so it can use the optimised arm floating point support in gcc. Without soft-float and a recent version of gcc, any app that makes extensive use of floating points will grind to a halt on the gp2x. But the thing is if one lib uses soft-float, everything else used in the app (including the app itself) must also be compiled with soft-float.RiX0R posted on Dec 9 2005 at 11:32 PM said:I'm having the same problem.
Does the GP2X even have a floating point unit?