Can we have a single "Static library" Universal for 10.3, 10.4 ppc and intel ?
Can we have a single "Static library" Universal for 10.3, 10.4 ppc and intel ?
- Subject: Can we have a single "Static library" Universal for 10.3, 10.4 ppc and intel ?
- From: "rohit dhamija" <email@hidden>
- Date: Thu, 29 Jun 2006 12:20:51 +0530
Hi,
I am in process of building universal static library for Mac OS 10.4
Intel and PPC and Mac OSX 10.3.9 using XCode 2.2
We build a "static library" on Mac OS X 10.4. Below are my settings:
/////////////////////////////
ARCHS = ppc i386
SDKROOT =
MACOSX_DEPLOYMENT_TARGET =
GCC_VERSION_i386 = 4.0
GCC_VERSION_ppc = 3.3
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk/
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk/
///////////////////////////////
Is it possible to compile this "static library" with the application
on Mac OS X 10.3.9 ?
Are there any issues related to inter-OS Compatibilities ? At my end,
this scenerio doesnot works.
Actually my main issue is as follows:
I need to build a universal binary "static library" that should work
on Mac OS X 10.4.6 Intel, PPC and Mac OS X 10.3.9
The static library when linked with applications on Mac OS X 10.4.6
Intel, PPC runs "Fine" but when performed this test on Mac OS X 10.3.9
gives following errors:
"ld: ..//libSentinelKeys32.a(Interface.o) r_type field of relocation
entry 424 in section (__TEXT,__text) invalid
ld: ..//libSentinelKeys32.a(Interface.o) stray relocation
PPC_RELOC_PAIR entry (425) in section (__TEXT,__text)"
These errors are similiar and quite large in number.
What can be the possible reason ? Any solutions for the same?
Thanks and Regards,
Rohit
_______________________________________________
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