-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alexander K. Hansen wrote:
| 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. That will work for basically nothing in Fink. If it were that easy, we would already have done it. :) Autotools-based packages (probably 80% of the stuff in fink) will need at least --disable-dependency-tracking passed on the configure line as well as the -arch stuff in your flags. That will work for maybe 60-80% of autotools (that's 60-80% of 80%). And, only if you're on Intel, because on PowerPC you'll also need - -isysroot /Developer/SDKs/MacOSX10.4u.sdk which also adds flags which piss off some custom-written autotools stuff. Probably another 20-30% of *those* (including most network tools) do endianness checks at configure time, which means that it will build on all platforms, but create broken binaries on whichever platform you're not building on. So that's 70-80% working in the 60-80% of 80%. ;) Non-autotools-based packages are completely a crapshoot; most of the manual build system stuff that isn't autotools does not care what's in CFLAGS, or treats it differently. Yes, it is theoretically possible to get everything in Fink to build universal. In practice, it would require tons and tons of hand-hacking by maintainers, as well as infrastructural support in Fink, and neither side has the manpower for us to reasonably expect it to happen. Not to burst your bubble, but I've thought about this a lot (and built probably 40 individual KDE dependencies as universal packages manually) and it's just not feasible. - -- Benjamin Reed a.k.a. Ranger Rick Fink, KDE, and Mac OS X development http://www.racoonfink.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHr7nXUu+jZtP2Zf4RAmM8AJ0fwbiFV2ywb0uXwGo0OQDcKkdHjgCdGXQA lBIqEiMiPhR4Ct+wo2TATMg= =VAtN -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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