Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: tdtooke on January 13, 2008, 10:59:08 PM

Title: A suggestion for tools/configure for compiling windows binaries in linux
Post by: tdtooke on January 13, 2008, 10:59:08 PM
I was thinking that the prefix of i686-pc-mingw32 would be better than i586-mingw32msvc since I think? the former is probably a lot more common.  Not really a big deal, if you're doing that you'll instantly notice exactly what you need to change, was just thinking that default might be a better choice.
Title: Re: A suggestion for tools/configure for compiling windows binaries in linux
Post by: linuxstb on January 14, 2008, 10:33:31 AM
What makes you think i686 is a more common prefix?  The mingw package installed by Debian for example uses i586.

Maybe the configure script could check which one is available though, and set the prefix appropriately.  I'm sure a patch would be welcome ;)
Title: Re: A suggestion for tools/configure for compiling windows binaries in linux
Post by: tdtooke on January 14, 2008, 11:09:09 AM
You're probably right, since I installed Slackware 12.0 (horrible, horrible choice for a beginner I might add) I'm finding I have to nearly compile every single thing from source and that is what I ended up with.  I just may do that after I look at one of the numerous configure scripts on my computer to see how that's done.
Title: Re: A suggestion for tools/configure for compiling windows binaries in linux
Post by: Bagder on January 14, 2008, 02:46:29 PM
Rockbox's configure is not like ordinary unix-projects' configures (since they're typically generated with autoconf and that is a lovely mess of m4 and shell scripting combined). Rockbox's configure is a simple shell script...