Oopo's On Cygwin


A_SN

Active Member
Joined
Jun 8, 2006
Messages
899
I just tried building ooPo's toolchain on Cygwin. Works, however there is not sdl-config anywhere. All I did was doing 'make' in $GP2XDEV/toolchain and 'make' in $GP2XDEV/libs

Did I miss anything? Has anyone ever tried building that toolchain in Cygwin?
 
I haven't looked at Oopo's but...

You probably have to run the configure script (a file simply named CONFIGURE). You can't do that in Cygwin.

You'll need to set up MinGW. You'll also need to install MSYS and the MSYS Developer Toolkit (both part of the MinGW project). Then you can use the MSYS shell (like SH or DOS) to run the configure script. MSYS tries to emulate posix (linux) style stuff (for example, the root of C drive is /C/). You'll need to navigate to the folder (use the CD "change directory") command, and run the install script (type install). Then you have to run make.

edit: I originally said install, I meant configure. And configure scripts are pretty picky, I could never get one to work properly in Cygwin.
 
I used oopo's when I was using windows, and it worked awesome... and you should be able to run any script in Cygwin, see if there is an install script, but I never had to do anything like that...
 
Blah posted on Aug 7 2006 at 02:10 AM said:
You probably have to run the configure script (a file simply named CONFIGURE). You can't do that in Cygwin.
No you don't need to run one. The Makefile handles it all for you. You can run configure scripts in Cygwin.
 
Last edited by a moderator:
Mudi posted on Aug 7 2006 at 04:05 AM said:
I used oopo's when I was using windows, and it worked awesome... and you should be able to run any script in Cygwin, see if there is an install script, but I never had to do anything like that...

and you had no issue with anything lacking? which makes me think, if one out there has successfully built it for Cygwin, couldn't one put it up on the archive so other can enjoy?
 
Last edited by a moderator:
Blah posted on Aug 7 2006 at 02:10 AM said:
You probably have to run the configure script (a file simply named CONFIGURE). You can't do that in Cygwin.

Hmmm, I am no great fan of CygWin but that is not quite right. CygWin is more that capable of running a configure script and sorting out a cross compiler is given the right info. MinGW is great if you want to produce NATIVE windows executables and skip out all the cygwin1.dll rubbish but for things like configure scripts it's no more or less better ;).

EDIT: Of course if I had read right down several people have already said that ;).

As for Oopo's/Open2x's lib makefile under CygWin, I just built the libs using a fresh SVN CO of the Open2x libs module and it worked find under CryWin on my work box (built SDL, MAD and Tremor). In fairness I am using a slightly older tool-chain (GCC 4.0 built with my older scripts) but I can't see how that would have affected the build in any great way.
 
Last edited by a moderator:
Back
Top