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: Tue, 11 Apr 2006 20:36:56 +0530
>>Why would you need gcc 2.95 for 10.3.9 if I may ask?
Answer: I suppose the default gcc that ships with Mac OS 10.3.9 is 2.95 (on my system the gcc version is 2.95). plz correct me if i am wrong.
We need to ship the product to our customer. They may have 2.95 to 3.3 gcc version on their system.
So do I need to do following settings ?
GCC_VERSION_i386 4.0
GCC_VERSION_ppc 2.95
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
B/w is there any technical note or document by Apple that says so ?
Thanks a lot
Rohit
On 4/11/06, Alexander von Below <email@hidden> wrote:
Why would you need gcc 2.95 for 10.3.9 if I may ask?
Unless you are building for anything BELOW 10.3.9, building the configuration you described should be failry straightforward, and almost like compiling on PPC for 10.4 and 10.3
If you are indeed targeting pre-10.3.9, or indeed need gcc 2.95, this should answer all your questions:
Alex
On 11.04.2006, at 16:31, rohit dhamija wrote:
Dear All,
This mail is in continuation to my previous post having subject "Universal binary supported Mac OS's"
My project is fairly diversified and contains Framework for USB bulk device driver, static libraries, dynamic libraries , JNI;s, console based application. The requirement of the project is to support
Mac OS 10.3.9 powerpc (contains GCC version 2.95)
Mac OS 10.4+ Powerpc (contains GCC 4 )
Mac OS 10.4.5 Intel ( contains GCC 4 )
I referred to the "making universal binary document" and various earlier post relating to "how to build a universal binary that supports all the conditions listed above". Unfortunately, could not get a final solution. i tried to build as per the instructions but the libraries/framework doesnot work properly on Mac OS
10.3.9 powerpc , although works Perfectly fine on Mac OS 10.4.5 Intel and PowerPC
Upon searching , i found a number of related queries, so I strongly feeel that there should be a detailed Technical note for the same.
So, Is there any "Technical Note" for building Universal binaries on Mac OS 10.3.9 , Mac OS 10.4.+ powerpc + Intel Mac ???
Any help/suggestion/comment in this regard is most welcome!
Thanks and Regards,
RDH
--
Rohit Dhamija(M) 9818446545
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription: