> I'll keep this in mind then because i didn't know, although i
> do know that i need to most likely start working on a cross
> compiler for this, but it'd take a little work.

Cross-compiling fltk with mingw on linux, for use on a win32 box, is
readily do-able - it just doesn't work with the fltk configure script
(which is intended to do cross-platform native compilation - making it
do cross-platform cross-compilation is a bit more of an ask...!).

All you have to do is generate (by hand, usually) a "makinclude" file
that correctly defines your cross-compilation environment, and a
"config.h" file that is appropriate for a mingw/win32 target. Most of
this has been discussed before, either in this list or more likely over
in fltk.general - I imagine that a trawl through the archives might find
something. I'm pretty sure some hardy soul posted worked examples of
suitable makeinclude and config.h files that could be used.
I don't know what search term is most likely to find a usable hit,
however!

FWIW, I gave up on cross-compiling. It was more hassle than just
building the code on a win32 box (they are so cheap these days anyway),
and just because it could be done wasn't enough reason to go on doing
it!

-- 
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-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to