Re: TechNote for building Universal Binary...
Re: TechNote for building Universal Binary...
- Subject: Re: TechNote for building Universal Binary...
- From: "rohit dhamija" <email@hidden>
- Date: Wed, 12 Apr 2006 15:43:25 +0530
So how can a universal static library be run on Mac OS 10.4.5 PowerPC, Intel as well as Mac OS 10.3.9 ?????
Is that not possible ?
Rohit
On 4/12/06, Finlay Dobbie <email@hidden> wrote:
On 12/04/06, rohit dhamija <email@hidden> wrote:
> I am building my static library as universal binary with following settings
> GCC_VERSION_i386 4.0
> GCC_VERSION_ppc 3.3
...
> When I link an application with this static library on Mac OS
10.3.9, I am
> getting following set of errors (22 times)
...
> ld: ./libMyLibrary.a(Interface.o) r_type field of relocation entry 132 in
> section (__TEXT,__text) invalid ld: ./libMyLibrary.a(Interface.o
) stray
> relocation PPC_RELOC_PAIR entry (133) in section (__TEXT,__text)
Panther's /usr/bin/ld can't interpret object files created by gcc 4.
You'll have to either use a dynamic library or provide two versions of
your static library.
-- Finlay
--
Rohit Dhamija(M) 9818446545
_______________________________________________
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