Re: How to use dynamic library in the Xcode
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