> i'm actually curious about how to get FLTK to cross compile > properly on linux to windows... i'm currently using the > following configure line, but it fails due to forced > dependence on X.org. > > ./configure --target="i586-mingw32msvc" > --prefix=/usr/i586-mingw32msv --enable-cygwin --without-x
The fltk configure script isn't particularly good at generating cross compile builds - it is tailored specifically to do native builds. When we have done this in the past, we have just hand-edited the makeinclude file to set up the cross-compile build rules we want. It then works more or less normally. A quick trawl through the fltk-general list archives should pop up a few worked examples, I think, as this has been discussed before. What I did originally was take the "config.h" and "makeinclude" from my msys/mingw build and tweak that for the mingw linux setup. It pretty much worked, but was more hassle than just building with mingw on win32 in the first place, so I stopped doing it! > Note: i know that using the --enable-cygwin flag should work > to let mingw compile on linux, but that is not so. That's not what "--enable-cygwin" is for. Rather, it tells the configyre system whether the win32 build should use the cygwin.dll or not. The default is not to, which is generally the better choice if you want your app to run on the majority of win32 boxes. 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-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
