SDKROOT & MACOSX_DEPLOYMENT_TARGET
SDKROOT & MACOSX_DEPLOYMENT_TARGET
- Subject: SDKROOT & MACOSX_DEPLOYMENT_TARGET
- From: Eric Gorr <email@hidden>
- Date: Tue, 24 Aug 2010 16:53:11 -0400
The documentation at:
http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html#//apple_ref/doc/uid/10000163i-CH1-SW2
seems clear – set the SDKROOT to the latest version of the OS on which you want to run and the MACOSX_DEPLOYMENT_TARGET to the earliest version of the OS on which you want to run.
So, I want to set the SDKROOT to be the 10.6 SDK and the Deployment Target to be Mac OS X 10.5.
However, I think I must be missing something. When I build a library with these settings and then use nm to see what symbols are in the library, nm will correctly output the symbols under 10.6, but not under 10.5.
When I execute nm under 10.5, I gett the following error:
nm: object: /Path/To/MyLib.mylib/Contents/MacOS/MyLib malformed object (unknown load command 4)
So, it seems clear that it is not getting built in the way I expected it to be built.
Any idea on what might be going wrong?
Thank you.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden