<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 08 Jan 2013, at 10:49, Bruce Tulloch 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: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; ">I had a working Debian Squeeze to Mac OSX Snow Leopard cross-<br>compilation system working. It's documented here:<br><br><a href="http://wiki.freepascal.org/Cross_compiling_OSX_on_Linux">http://wiki.freepascal.org/Cross_compiling_OSX_on_Linux</a><br><br>Unfortunately the method described on that page is now broken.<br><br>The problem linking for OSX on a Linux no longer works for me.<br></span></span></blockquote><div><br></div><div>What had changed when it stopped working?</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; ">It produces errors like these:<br><br>i386-darwin-ld: MacOSX10.6.sdk/usr/lib/libiconv.dylib load command 5<br>unknown cmd field<br>i386-darwin-ld: MacOSX10.6.sdk/usr/lib/libobjc.dylib load command 7<br>unknown cmd field<br>i386-darwin-ld: MacOSX10.6.sdk/usr/lib/libc.dylib load command 5<br>unknown cmd field<br>i386-darwin-ld:<br>MacOSX10.6.sdk/System/Library/Frameworks/Carbon.framework/Carbon load<br>command 4 unknown cmd field<br>i386-darwin-ld:<br>MacOSX10.6.sdk/System/Library/Frameworks/Cocoa.framework/Cocoa load<br>command 4 unknown cmd field<br>i386-darwin-ld:<br>MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/OpenGL load<br>command 5 unknown cmd field<br>i386-darwin-ld:<br>MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Foundation<br>load command 6 unknown cmd field<br></span></span></blockquote><div><br></div><div>This suggests that you are using a linker that is too old. Are you certain that the used i386-darwin-ld is the one you built from cctools-809? (compile with -Cn and look at the generated ppas.sh)</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; ">The most obvious thought is that not all objects were built against<br>the same revision of the SDK but I can confirm they are.</span></span></blockquote><br></div><div>That has no influence anyway. Objects are not really built against an SDK, only libraries and applications are. The SDK only affects the linking in case of Pascal (in case of C/C++, it also affects the compilation because of the used headers).</div><div><br></div><div><br></div><div>Jonas</div><br></body></html>