> I would like to CrossCompile the FLTK 1.1.7 for my avr32 > NGW100 board. I've changed the config.sub where I've added > the avr32 architecture. The invoking of the configure command > works fine. > > "./configure CC=avr32-linux-gcc --host=avr32-linux > --prefix=/usr/avr32-linux" > > But the "make" command is the problem at the momment:
The fltk configure script is not really cross-compilation aware. What I do is run a "native" configure on my host, then hand-edit the generated "makeinclude" and "config.h" files to reflect the needs of the target architecture, and fix up the paths to the tools, includes and libs therein, that map to the cross-compiler tools. Thereafter, it works - but when building the examples the top-level makefile will attempt to build, then run, a cross-fluid executable, which chokes on the host (unless host and target have very similar archs of course, in which case why cross-compile at all!) 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

