• 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 UB given an Intel and PPC library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building UB given an Intel and PPC library


  • Subject: Re: Building UB given an Intel and PPC library
  • From: Bill Bumgarner <email@hidden>
  • Date: Wed, 14 Feb 2007 19:48:47 -0800


On Feb 14, 2007, at 6:41 PM, Kevin Vanwulpen wrote:

I need to link my application against a third party library. They provided me with header files obviously and 2 library files, one for PowerPC, one for Intel.
I am not sure how to setup things in XCode so the linker uses one file for the PPC build and another for the Intel build (being clunked together eventually into 1 fat UB app)


Any specific pointers on where I could read up on how to accomplish something like this?

See the man page for 'lipo'.

Something like:

lipo -create foo_ppc_lib.a foo_i386_lib.a -output foo_universal.a

Then link against the result.

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


References: 
 >Building UB given an Intel and PPC library (From: Kevin Vanwulpen <email@hidden>)

  • Prev by Date: Re: .lproj directory naming
  • Next by Date: Re: Building UB given an Intel and PPC library
  • Previous by thread: Building UB given an Intel and PPC library
  • Next by thread: Re: Building UB given an Intel and PPC library
  • Index(es):
    • Date
    • Thread