Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile in Leopard, use in Tiger (again)



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: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.