Alvin asked: > > I would like to compile this program (from within > > Linux) to run on Windows, but I've never done this > > before. > > Perhaps this is not the answer you're looking for > but it might help you solve your problem > nonetheless.
Marc replied: > In the past I've tried setting up a cross-compile > environment with varying degree of success- it's > rather cumbersome to set up as you'll need to > build *everything* for both platforms (including > cross-compiling FLTK for Windows on Linux). > > I found it simpler to build everything under > a MinGW environment under XP running in a > virtual machine (VirtualBox). > > The added benefit is that I can not only compile > the application for Windows, but actually also > test-run it (I know, I could have tried running > it under Wine) I have to say I'm with Marc on this, and cross-compiling code (albeit for embedded targets) is what I do for a day job, so I'm relatively good at it. Yes, it is possible to use mingw to cross-compile form Linux to win32, but... The win32 stuff is just such a hassle to cross-compile, not like a "proper" operating system, that it really is better to just set up a win32 host and use that. And as Marc points out, that also gets you a test platform too. Lets face it, your not going to distribute code you haven't tested, so you need that test platform anyway, might as well use it for building too. Cheers, -- Ian SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

