• 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: How to use dynamic library in the Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use dynamic library in the Xcode


  • Subject: Re: How to use dynamic library in the Xcode
  • From: Wang Yongqing <email@hidden>
  • Date: Thu, 26 Jun 2008 23:24:04 -0700 (PDT)

Hi, 

The dynamic library libpcsclite.1.0.0.dylib is generated from the OPEN SOURCE code. Whether I could compile the ppc version or universal library on my intel verison Mac by GNU project? Maybe it is a cross-compile problem. 

Because I want to get the universal binary application, maybe should I use Xcode compile the open source code to get the universal dynamic library? Then I link this dynamic library in my application. I think it's a new thing to me, any ideas or advice I will appreciate!

Best wishes!
::yongqing



----- Original Message ----
From: Chris Espinosa <email@hidden>
To: Wang Yongqing <email@hidden>
Cc: xcode-users <email@hidden>
Sent: Friday, June 27, 2008 2:11:20 PM
Subject: Re: How to use dynamic library in the Xcode


On Jun 26, 2008, at 10:57 PM, Wang Yongqing wrote:
Yes, it can generate the application based on i386, but it is failed based on ppc. 

The type of the dynamic library is

apple:lib apple$ file libpcsclite.1.0.0.dylib 
libpcsclite.1.0.0.dylib: Mach-O dynamically linked shared library i386

You can either try to acquire a universal version (ppc i386) of libpcsclite.1.0.0.dylib, or in the Target that links with it, set the Architectures to Intel only.

Chris

 _______________________________________________
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

  • Prev by Date: Re: How to use dynamic library in the Xcode
  • Next by Date: Re: How to use dynamic library in the Xcode
  • Previous by thread: Re: How to use dynamic library in the Xcode
  • Next by thread: Re: How to use dynamic library in the Xcode
  • Index(es):
    • Date
    • Thread