---------- Forwarded Message ---------- Subject: Re: [Fink-devel] An option to build universal binaries ? Date: Saturday 09 February 2008 From: DJamé Seddah <[EMAIL PROTECTED]> To: Alexander K. Hansen <[EMAIL PROTECTED]>
Le 9 févr. 08 à 20:19, Alexander K. Hansen a écrit : > On Saturday 09 February 2008 01:15:11 pm DJamé Seddah wrote: >> Hi, >> I would like to know if it would be possible to use fink to build a >> whole universal binary hierarchy under /sw ? >> >> the idea is to have a shared directory using nfs for ppc and x86 >> so if it exists an option to add to fink.conf, that would be nice to >> let me know >> >> >> Regards, >> >> >> >> Djamé >> >> > > It's not supported, and It's not likely ever to happen. > To do a cross-compile for PowerPC on an Intel box would require > removing > _every_ Intel binary library from the Fink tree, and then > rebuilding every > package for PowerPC. Not to mention that the low level binary package > handler, dpkg, is only capable of coping with a single architecture. > Hi, I was thinking about setting CFLAGS AND LDFLAGS during the first fink bootstrap something like that fink selfupdate CFLAGS="-arc i386 -arch ppc" and then hopping that all the makefile will get the new propagated CFLAGS and maybe modify the apt.conf to take that into account. I guess that the bad point will be when apt will generate the .deb it's a pity it doesn't cope with flat files. Thanks anyway for your answer Djamé ------------------------------------------------------- -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel