Wesley Smith wrote:
> That's a shame.  Seems like a simple enough thing to do because it's
> just a command line switch.

It seems simple, but it's not.  :(

Out of the box, I'd say maybe 40% of stuff will work by just setting 
CFLAGS and friends (don't forget that unless you're on an intel mac, you 
also need "-isysroot /Developer/SDKs/MacOSX10.4u" in addition to "-arch 
i386 -arch ppc").  Another 40% will work if you autoreconf after 
installing libtool 1.5.22 (libtools before 1.5.22 eat the -isysroot and 
maybe the -arch as well, and you end up with non-universal binaries 
anyways).

The other 20% are a mishmash of things that completely ignore flags, 
need custom hacks, and other ugly things.

Of those 80% that work with no changes or autoreconf changes, 10% or so 
do endianness checking at ./configure time instead of at compile time, 
and will build but generate bad code, and another 5% do some kind of 
custom host checking that enables crazy stuff.

I looked into this enough that the amount of work that would go into 
making this happen is considerably less than to just hand-build the few 
libs you need (which is what I did for the kde4 binaries I made) or to 
get the binaries for each and lipo them together.

-- 
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to