Re: Universal Binaries and supporting legacy OS
Re: Universal Binaries and supporting legacy OS
- Subject: Re: Universal Binaries and supporting legacy OS
- From: email@hidden
- Date: Thu, 20 Oct 2005 14:31:57 +0100
Hi,
I have not tried Universal Binaries yet, but I found that anything compiled with
XCode 2.x and gcc 4 will not run on OS X 10.2 or 10.1.
This is due to gcc4 now linking against a dynamic version of stdc++. This
runtime library is only present on Mac OS X 10.3.9 and 10.4.x. This new feature
is described in
http://developer.apple.com/documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/LibCPPDeployment.html#//apple_ref/doc/uid/TP40001668
Again, I know nothing about Universal Binaries, but my understanding is that one
requires gcc4 to produce them. It seems therefore impossible for Universal
Binaries to support old OS versions.
I was wondering, however, if it is possible to handcraft a Universal Binary with
a PowerPC binary compiled with gcc 3.3? That could be the way to do it.
Florent Castro.
> Date: Wed, 19 Oct 2005 20:14:15 -0500
> From: Chad Armstrong <email@hidden>
> Subject: Universal Binaries and supporting legacy OS
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Is it possible to compile an application with XCode 2 as a Universal
> Binary, yet be able to let the application run on older systems such
> as Mac OS 10.1 and 10.2? So far, even when I set up XCode to use the
> 10.2 SDK, the program still doesn't seem to want to run under Jaguar
> or 10.1. At this point in time, if I've had an application that I
> want to run on older systems, I go back to Project Builder and build
> the application there. So, I'm questioning how viable it would be to
> compile an application as a Universal Binary and be able to support
> older operating systems.
>
> Chad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden