On 7 Jul 2008, at 11:18, manu_osx wrote:

>>
>> I use the configure option:
>> ./configure --prefix=/usr/fltk  --host=arm-linux  --build=i386- 
>> linux --target=arm-linux
>> make it then comes:
>> when trying to cross compile for my target I have the same problem;
>

> HOw did you solved this problem?

The fltk configure script is not cross-compilation aware, so setting  
the host/build/target flags will not help you.

What I do is simply configure for the local target, then hand-edit  
the generated makeinclude and config.h files to correctly describe  
the cross-compilation target environment (and sometime I add a few  
extra define to config.h to make sure the cross-target is set.)

Thereafter it pretty much just works. I generally use X on all my  
targets, however, so if you are using nano-x or etc you may have  
additional issues to resolve, I don't know about that.



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to