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: Thu, 25 Jan 2007 15:57:57 -0600
Shamyl,
Sorry if I'm coming onto this at the end. I just switched my
subscription from digest to regular mail.
There are a couple of things you can still try.
1) Make sure you are doing a make clean before each build attempt
when changing these settings. You are probably doing that already,
but I just want to make sure. You could have an old PPC library in
there somewhere.
2) At one point, it looks like you have your arch flags in there 3
times. You'll have to examine the makefile. Start with just CFLAGS
and try that. Then maybe add LDFLAGS. CXXFLAGS is a last resort
because a C++ compile should also have CFLAGS.
3) Finally, you may have to do more than just configure. You may have
to set flags on the make as well. I have the following aliases:
alias uconfigure='env CFLAGS="-isysroot /Developer/SDKs/
MacOSX10.4u.sdk -arch i386 -arch ppc" ./configure --disable-
dependency-tracking'
alias umake='env CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -
arch i386 -arch ppc" make'
I do a uconfigure and then a umake. If it doesn't work perfectly, it
gets me really close.
You may need to update your config script using a recent version of
autoconf, automake, and libtool.
John
On Jan 25, 2007, at 2:47 PM, Shamyl Zakariya wrote:
The trouble is, when I examine the output ( after setting --host )
I'm still getting intel binaries.
So, thanks for all the help, folks, but this is just a particularly
cranky library. I'll have to build on two machines...
email@hidden
"negative, i am a meat popsicle."
-- Major Korben Dallas
_______________________________________________
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