Re: Universal build of cranky open source lib with a configure script
Re: Universal build of cranky open source lib with a configure script
- Subject: Re: Universal build of cranky open source lib with a configure script
- From: John Daniel <email@hidden>
- Date: Fri, 26 Jan 2007 10:12:04 -0600
On Jan 25, 2007, at 9:20 PM, Bill Bumgarner wrote:
For what it is, autoconf works just fine across dozens of
platforms, Linux being a relative latecomer to the autoconf game.
With careful and judicious use, autoconf does an effective -- note
I did not say great -- job of enabling portability in codebases
with a very wide range of targets.
But autoconf is very complicated. I don't have the time or
inclination to learn it for the half-dozen open-source libraries I
use. From the autoconf-based projects I've seen, not many people do
know how to use it properly.
It seems like the only viable solution is to configure for 10.2 PPC
and make, then configure for 10.4 intel and make, then lipo together.
I'll probably also need --prefix=/tmp/ppc and --prefix=/tmp/i386.
That's probably not the answer you wanted to hear :) It may be ugly,
but it is the most reasonable solution for me. Plus, I can have 10.2
compatibility if I need it.
You are probably right, but fighting an uphill battle. I got my
idea from the following place:
http://developer.apple.com/technotes/tn2005/tn2137.html
That document seriously needs revision. Bug filed (rdar://4956293).
Good luck on that one. I think that genie is already out of the
bottle. If someone asks me how to build a UB, I'll give them my new
lipo-based scripts once I get them done.
Autoconf: the sendmail.cf of project configuration.
I don't think that is an appropriate analogy - sendmail is easier. I
can download something like "Postfix Enabler" to configure sendmail
for me. I don't see any way that someone could write a tool to
automatically "fix" any random autoconf project.
You've successfully scared me out of using -arch ppc -arch i386.
Learning autoconf isn't a viable option though. Years ago, I took the
time to learn make - I mean really learn it. That knowledge never
helped me once. It turned out that I was the only one who knew make.
I could either hack up various makefiles and get on with my life
without bothering people, or take on the task and responsibility of
rewriting the makefiles properly. Autoconf is just this generation's
make.
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden