<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi,</div><div><br></div><div>For the record, adding </div><div> UNIVERSAL_SDK_PATH=/Developer/SDKs/MacOSX10.4u.sdk/ </div><div>was insufficient to restrict the .a/.o files to link against the 10.4 sdk, but </div><div> env MACOSX_DEPLOYMENT_TARGET=10.4 make </div><div>did the trick. </div><div><br></div><div>Thanks!</div><div><br></div><div><div>On Jan 14, 2009, at 1:29 PM, Jean-Daniel Dupas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 14 janv. 09 à 21:48, Chris Lattner a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 14, 2009, at 12:44 PM, Graham Wakefield wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry if this is a newb q... I'm developing an application on a 10.5 machine but want to target the 10.4 SDK. Is there a magic incantation for the llvm configure script to set the sysroot path, equivalent to e.g. --with-sysroot <span class="Apple-style-span" style="font-family: -webkit-monospace; font-size: 10px; white-space: pre; ">"/Developer/SDKs/MacOSX10.4u.sdk"<span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; white-space: normal; ">? </span></span><div><br></div></div></blockquote>Try 'make UNIVERSAL_SDK_PATH=/Developer/SDKs/MacOSX10.4u.sdk/'.</div><div><br></div><div>There are some comments in llvm/Makefile.rules that can help,</div><div></div></div></blockquote></div><br><div>Note that you don't have to use 10.4 SDK to target Tiger. You just have to set the "macosx version min" (either using the gcc flag -mmacosx-version-min=10.4 or using the MACOSX_DEPLOYMENT_TARGET env var)</div><div><br></div><div>env MACOSX_DEPLOYMENT_TARGET=10.4 make </div><div><br></div><div><br></div></div>_______________________________________________<br>LLVM Developers mailing list<br>LLVMdev@cs.uiuc.edu <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></body></html>