On Thu, 2003-11-20 at 12:37, [EMAIL PROTECTED] wrote: > I am interested in using my Linux box as a build machine. The only > problem is that I would like to generate Windows binaries (and Linux, > but that is the easy part). What would be the best way of going about > doing this... Or is it even possible? Your thoughts would be greatly > appreciated.
Not only is it possible, it's done very commonly by lots of people. I make pretty frequent use of my cross-compiler, generating both console and gui win32 apps from linux. Most of my projects lately are designed to compile to either target, just by changing a configure option and typing "make." Voila. exe produced. The magic tools to make it work are cross-compilers. Do a search for mingw32 cross-compiler on google. Be warned, though, setting them up is hard. I do have a comlete image you can untar onto your linux box that can provide the compiler, the wxwindows library, and the gtk-for-windows library. I'll be happy to give this package to you. We should probably do a presentation on cross-compiling, particularly for windows at the UUG sometime. Just a note here. If you want to do guis on windows you can either do it in straight win32 api (nasty), or you can use wxwindows (a very mfc-like library), or gtk for windows (very easy to use, but doesn't always look like a windows app). MFC does not compile under mingw32. I am also trying to build a cygwin cross compiler that can create cygwin exes (win32 exes that link to the cygwin runtime). With that and the mingw32 compiler, I'll have the best of all worlds. Michael > > Dallin Jones > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -- Michael L Torrie <[EMAIL PROTECTED]> ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
