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: Bill Bumgarner <email@hidden>
- Date: Fri, 26 Jan 2007 11:46:02 -0800
On Jan 26, 2007, at 8:12 AM, John Daniel wrote:
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.
It really isn't that hard to create an Xcode project to encapsulate
the source and it can typically be done without changing the layout of
the source. Chris Hanson can likely chime in on this too.
I typically:
- create two copies of the source
- run configure on ppc
- run configure on intel
- opendiff the two against the original and against each other
- create a 'macosx' directory in the original source
- create an Xcode project in that directory
- add the various sources, etc, and configure the project
- create a config.h, or equivalent, that contains the various
architecture specific bits that configure spewed
... etc ...
End result is a source tree that compiles with Xcode without relying
on the autoconf stuff.
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.
Ahh... my age shows on this one. I was referring to editing sendmail
rules by hand, not the m4 conf generator stuff. :)
b.bum
_______________________________________________
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