Re: Compile in Leopard, use in Tiger (again)
Re: Compile in Leopard, use in Tiger (again)
- Subject: Re: Compile in Leopard, use in Tiger (again)
- From: Pierre Baillargeon <email@hidden>
- Date: Thu, 29 Nov 2007 14:27:40 -0500
I'm also using the intel compiler. Here's what I've found:
1. Define the proper symbols to use the proper functions:
-DMAC_OS_X_VERSION_MAX_ALLOWED=1040
-DMAC_OS_X_VERSION_MIN_REQUIRED=1040
-D__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1040
2. Tell the compiler top use the proper SDK framework:
-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
3. Tell the linker to use the proper SDK:
-Wl,-syslibroot -Wl,/Developer/SDKs/MacOSX10.4u.sdk/
That should set you on course. I've had other problem with the
generated object files crashing on load due to bad init function
pointers, but that is a different thing...
--
Pierre Baillargeon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden