<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Nope. Sean knows more about this than I do. I am still running Tiger for various reasons. <br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-- </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Mike Jackson   Senior Research Engineer</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Innovative Management &amp; Technology Services</div><br class="Apple-interchange-newline"></span> </div><br><div><div>On Jul 3, 2008, at 11:31 AM, Eric Torstenson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Tahoma; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">Hi Mike,<span class="Apple-converted-space"> </span><br><br>Can you recommend an article or website that has more info about getting this to<span class="Apple-converted-space"> </span><br>work? When I finally got everything compiled, I discovered that I was still liking<br>to leopard libraries, which kinda defeats the purpose of the whole exercise. Now,<span class="Apple-converted-space"> </span><br>after having removed XCode 3.0, I can't compile anything, because all of the gcc<br>binaries want some file that was deleted when I removed XCode 3.0...<br><br>Thanks for any info.<br><br>eric<br><br>> CC: <a href="mailto:e_torstenson@hotmail.com">e_torstenson@hotmail.com</a>; <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>> From: <a href="mailto:mike.jackson@imts.us">mike.jackson@imts.us</a><br>> Subject: Re: [CMake] OSX Leopard- compiling for Tiger and later<br>> Date: Wed, 2 Jul 2008 17:41:44 -0400<br>> To: <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> On Jul 2, 2008, at 5:29 PM, Sean McBride wrote:<br>><span class="Apple-converted-space"> </span><br>> > On 7/2/08 2:00 PM, Eric Torstenson said:<br>> ><br>> >>> what happens if you just set the CMAKE_OSX_SYSROOT variable to the<br>> >>> 10.4u sdk? Is that enough?<br>> >>><br>> >><br>> >> Thanks to Sean's previous post, I set the following variables:<br>> >> IF (APPLE)<br>> >> SET (CMAKE_OSX_ARCHITECTURES "i386")         #x86_64 ppc ppc64<br>> >> SET (CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk")<br>> >> END (APPLE)<br>> >><br>> >> This results in the right version of the compiler being called. I<br>> >> haven't finished compiling it,<br>> >> due to other dependencies, so we will see if that works once I get<span class="Apple-converted-space"> </span><br>> >> those<br>> >> ironed out.<br>> >><br>> >> There was a reference to a deployment variable, which might be<span class="Apple-converted-space"> </span><br>> >> what the<br>> >> article from sean's<br>> >> post was requesting. However, I'm not sure if I'll need that once<span class="Apple-converted-space"> </span><br>> >> I get<br>> >> all the way to linking or<br>> >> not.<br>> ><br>> > The difference between the 'deployment target' and 'sdk' are widely<br>> > misunderstood. Here's something from some post somewhere that I<span class="Apple-converted-space"> </span><br>> > keep in<br>> > my notes file:<br>> ><br>> > ----<br>> > The SDK (SDKROOT) you choose specifies the *maximum* version of the OS<br>> > that you want to *use features from*. There is another build setting,<br>> > the deployment target (MACOSX_DEPLOYMENT_TARGET) that specifies the<br>> > *minimum* version of the OS that you want to *run on*.<br>> ><br>> > You don't need to use the 10.3.9 SDK to support 10.3.9, the SDK only<br>> > describes the highest version of Mac OS X you support. You<span class="Apple-converted-space"> </span><br>> > determine the<br>> > lowest version of Mac OS X you support by setting the "Mac OS X<br>> > Deployment Target" in the target's build options.<br>> ><br>> > Any function that is supported on your Deployment target or earlier<span class="Apple-converted-space"> </span><br>> > are<br>> > hard linked (and your software won't load on earlier versions of the<br>> > OS). Any functions that were introduced after your deployment<span class="Apple-converted-space"> </span><br>> > target are<br>> > weak linked. Any functions introduced after your SDK version are<span class="Apple-converted-space"> </span><br>> > unavailable.<br>> > ----<br>> ><br>> > So it sounds to me like Eric should use the 10.5 SDK and set the<br>> > deployment target to 10.4.<br>> ><br>> > --<span class="Apple-converted-space"> </span><br>> > ____________________________________________________________<br>> > Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>> > Rogue Research <a href="http://www.rogue-research.com">www.rogue-research.com</a><br>> > Mac Software Developer Montréal, Québec, Canada<br>> ><br>><span class="Apple-converted-space"> </span><br>> So is this something we can just hack into the Darwin.cmake file for<span class="Apple-converted-space"> </span><br>> our own use? I already hacked it to default to dwarf debugging on<span class="Apple-converted-space"> </span><br>> 10.4. The same could be done to at least allow us to take a default<span class="Apple-converted-space"> </span><br>> or change it to something else.<br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> --<span class="Apple-converted-space"> </span><br>> Mike Jackson Senior Research Engineer<br>> Innovative Management &amp; Technology Services<br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br><br><hr>Enter the Zune-A-Day Giveaway for your chance to win — day after day after day<span class="Apple-converted-space"> </span><a href="http://www.windowslive-hotmail.com/ZuneADay/?locale=en-US&amp;ocid=TXT_TAGLM_Mobile_Zune_V1" target="_new">Enter Now!</a></span></blockquote></div><br></body></html>