Re: Building universal binary of open source library
Re: Building universal binary of open source library
- Subject: Re: Building universal binary of open source library
- From: "Peter O'Gorman" <email@hidden>
- Date: Wed, 7 Mar 2007 10:12:24 +0900
On Mar 7, 2007, at 8:23 AM, Brant Sears wrote:
I did check the archives and this has been asked before, but I'd
like to ask for a clarification as I didn't completely understand
the issue after reading the archives.
I'm trying to compile LAME as a universal library.
Apparently it is set to use several -M switches: MT MD MP MF which
gcc tells me are incompatible with using -arch.
What do these switches do exactly that makes them not work with -arch?
Automake/autoconf add these flags unless you pass --disable-
dependency-tracking to configure. You will need to be very careful!
http://lame.cvs.sourceforge.net/lame/lame/configure.in?view=markup
shows that lame's configure checks for sizeof() all the standard
types and endianness. It also enables bits and pieces based on
host_cpu. This is not a simple add some -arch flags and go type build
to get it universal.
Peter
_______________________________________________
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