> I an using FLTK-1.1.7. I need cross-compile it for powerpc. > FLTK Base on x-window, So should I migrate x-window to powerpc first? > But I don't know how to cross-compile x-window for powerpc.
You'll need to give us more of a clue: What host platform are you using to build on? What target platform are you planning to run on? What tools are you using, what operating system on the target. Why 1.1.7, why not something more recent (1.1.9)? If your target is capable enough, why cross-compile, why not just build on the target? (Something lowly like a 603 core is perfectly capable of supporting its own build environment, if you want to go that way.) But in general: Yes, you need to build a cross-compiled target image that includes the operating system header files of your target, and inside that environment you cross-compile gcc / binutils / whatever C lib you are using, (e.g. newlib or dietlib or uClib or even glibc) - then you cross-compile X and finally you cross-compile fltk and your target code. But this is all pretty routine stuff, and there are many web pages explaining how to go about this, and how to cross-compile X and so forth. Google will find you much more information than you will ever get here. > does anybody have experience? Yes, lots. But this is what I get paid for, so the free tips might have just run out! But really, this is not hard to do, so you'll figure it out. 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

