Re: How to use REZ to create resource combining x86 and x64?
Re: How to use REZ to create resource combining x86 and x64?
- Subject: Re: How to use REZ to create resource combining x86 and x64?
- From: Brian Willoughby <email@hidden>
- Date: Fri, 04 Nov 2011 20:36:33 -0700
When you set the deployment target to 10.5, the 10.6 SDK will warn
you if you try to compile any functions that are not available.
Technically, the 10.6 SDK would be installed with most of the 10.5
SDK as well, so that when you switch the deployment target for some
of your projects, all the information is there.
I guess the confusion is over the naming. When you install the 10.6
developer tools, you'll get the 10.6 SDK and the 10.5 SDK, along with
any others that are available and checked. They end up in the /
Developer/SDKs/ directory as siblings. So, perhaps it's more
accurate to say that you're using the 10.6 tool set, but pointing to
the 10.5 SDK for a specific project. I think David's using the term
"10.6 SDK" to refer to everything including the tools, not just the /
Developer/SDKs/ subdirectory for 10.6
I hope this makes sense. I might have just made things more
confusing by trying to explain it this way...
Brian
On Nov 4, 2011, at 20:26, Vojtěch Meluzín wrote:
Really? I mean what if the new SDK contains functions not available
in previous systems?? I mean in Cocoa yes, but I'm 99% C++ and
using GCC directly.
Dne 5. listopadu 2011 4:17 David Duncan <email@hidden> napsal(a):
The entire point of the deployment target is to allow for you to
use a newer SDK (and optionally newer APIs) while targeting an
older OS. You won't be able to build on Leopard with SDKs newer
than 10.5, but you can run binaries that do.
On Nov 4, 2011, at 7:58 PM, Vojtěch Meluzín wrote:
Thanks David, but that won't work on Leopard, or will it? Btw. I
found that I can compile 32&64 bit projects on 10.5 SDK, which is
quite confusing, but at least here on 10.6.8 both work.
Dne 5. listopadu 2011 3:56 David Duncan <email@hidden> napsal
(a):
On Nov 4, 2011, at 2:58 PM, Vojtěch Meluzín wrote:
I want my plugins to be 32-bit and 64-bit in one module. So I'm
going to use "lipo" to merge the 2 binaries. But the plugin
package also contains the resource file created by "rez". That
need a parameter "-isysroot /Developer/SDKs/MacOSX10.5.sdk"
specified for example. But the 64-bit version must be compiled
with SDK 10.6, right? I mean Leopard wasn't 64-bit. And I still
want to maintain compatibility with Leopard for 32-bit version,
so I need to 10.5 SDK, so how to do that?? Or can I use 10.5
for both cases?
Unless you are trying to target 64-bit PowerPC, you don't need
the 10.5 SDK, just use the 10.6 SDK and set the deployment
target for 10.5.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden