• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Building universal binary of open source library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Building universal binary of open source library
      • From: David Alger <email@hidden>
References: 
 >Building universal binary of open source library (From: Brant Sears <email@hidden>)

  • Prev by Date: Re: [OT] Disk image creation
  • Next by Date: Re: [OT] Disk image creation
  • Previous by thread: Building universal binary of open source library
  • Next by thread: Re: Building universal binary of open source library
  • Index(es):
    • Date
    • Thread