Rockbox Development > Starting Development and Compiling

compiling a win32 sim from linux

<< < (2/4) > >>

GodEater:
It might be as simple as editing the Makefile that the configure script generates, and replacing the value of the CC= with the mingw32 binary instead of gcc. Or it might not. I've never tried this so I'm not sure.

linuxstb:
You will probably also need to cross-compile libSDL and install that locally.

lights0ut:
thanks guys
Godeater: will try that later today, hoping it's that simple
linuxstb: thanks for looking out for me, I've already compiled SDL with mingw32  ;)

lights0ut:
Hey guys, I got me a windows sim. Turned out that when I read the part about setting the path to the win32 style SDL i forgot to add 'bin' at the end of PATH=/usr/local/sdl32/ .
Reminds me of when I was doing HTML in high school and I would spend an hour realizing I forgot a quotation mark.

Thanks for all the help ;)

Nate!:
evilg123: what dev environment are you using? Linux natively or Windows/VMWare/Debian, Cygwin, CoLinux,etc?

Would you mind putting the steps in a wiki page?  I can edit with screenshots after I try it out.  

I wanted to know how to do this a while back, but didn't know how to go about installing the cross compiler or which one to install.  Cygwin is considerably slower when compiling builds than VMWare.  I'd rather use the latter but like the Win32 sim convenience.  

Mostly I just patch and compile to update rockbox and work on WPSs.

Thanks in advanced.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version