Re: TechNote for building Universal Binary...
Re: TechNote for building Universal Binary...
- Subject: Re: TechNote for building Universal Binary...
- From: "Finlay Dobbie" <email@hidden>
- Date: Wed, 12 Apr 2006 11:10:40 +0100
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
_______________________________________________
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