Re: Universal "./configure" projects: Inaccurate TechNote?
Re: Universal "./configure" projects: Inaccurate TechNote?
- Subject: Re: Universal "./configure" projects: Inaccurate TechNote?
- From: Peter O'Gorman <email@hidden>
- Date: Fri, 04 Dec 2009 09:30:25 -0600
On 12/04/2009 07:57 AM, Alexander von Below wrote:
OK, apparently passing two architectures is no longer an option. I have to configure and make the sources individually, and lipo them
Works if you also add -mmacosx-version-min=10.5 to both CFLAGS and
LDFLAGS (the failure in config.log was "ld: library not found for
-lcrt10.6.o").
Still, due to autoconf having issues with multiple arches for some
projects, doing it twice and lipoing may be better anyway.
Peter
Alex
Am 04.12.2009 um 14:47 schrieb Alexander von Below:
Dear List,
this sounds like the right place to ask the question...
I have followed the steps of Technote 2137 (1) on OS X 10.6.2, using hello 2.1 as my source. But to my dismay, only a single-binary file (x86_64 at that) is created.
If someone would like to try:
1) Download:
curl -O http://ftp.gnu.org/gnu/hello/hello-2.1.0.tar.gz
2) Unpack:
tar -xvzf hello-2.1.0.tar.gz
3) change dir
cd hello-2.1.0
4) Follow steps from website:
env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure --prefix=${HOME}/Hello --disable-dependency-tracking
This yields in an error: checking for C compiler default output... configure: error: C compiler cannot create executables
Is there any update to this process anywhere?
Thanks
Alex
1) http://developer.apple.com/mac/library/technotes/tn2005/tn2137.html
_______________________________________________
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
_______________________________________________
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
--
Peter O'Gorman
http://pogma.com
_______________________________________________
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