> After having worked with FLTK under Linux and Windows
> for a while, I'm now ready to set it up on a Mac PowerPC.
> I'd like to distribute my software as fat binary- having
> both PPC and Intel code in a single .dmg. To get things
> to work properly, it is my understanding that I'll be
> needing to build (the libraries of) FLTK to be 'fat' as
> well.
> 
> Any pointers on setting up FLTK in this way would be
> much appreciated.

I think Greg posted some notes about that here, although it was a while
back... IIRC, he was passing multiple -arch (i386 | ppc | etc) commands
to gcc to get it to build fat "naturally".

I have had some success building multiple "thin" binaries then using
lipo to merge them together. Either way works.



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

Reply via email to