<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Terje's approach with the shell script may work but I would not like the idea of the finder not recognizing the universal binary as such.&nbsp;</div><div><br></div><div>We are only using the IDE versions of CCL with the large, merged kernel + heap "d&lt;architecture&gt;cl" files. Could the Cocoa/IDE version &nbsp;be lipoed together given that there would not be the problem with finding the right image file? If so, what would be the proper way to use lipo to achieve this?</div><div><br></div><div>alex</div><div><br></div><br><div><div>On Apr 16, 2009, at 3:09 PM, Gary Byers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>There has never been any support for universal binaries in CCL.<br><br>Merging multiple kernels into a single executable file is trivial (well,<br>it's trivial since we can just invoke the 'lipo' program to do all of<br>the non-trivial work.)<br><br>There isn't currently any support for multi-architecture heap images,<br>so it's not clear how a universal binary kernel could find and load<br>the right architecture-specific heap image by default.<br><br>For a long time, I've been under the impression that the file named by<br>the value of the CFBundleExecutable key in a .app bundle' Info.plist<br>had to be a real executable file. &nbsp;If it can in fact be a shell<br>script, then that shell script could just determine the architecture<br>and execute the right architecure-specific binary (which could either<br>contain an embedded heap image, load a default heap image based on its<br>name, or receive an argument from that shell script.)<br><br>(It does seems to work to set the CFBundleExecutable key's value to<br>the name of a shell script, and that shell script can determine the<br>architecture and word size and exec a real executable file. &nbsp;That isn't<br>quite the same thing as a Universal Binary - "Get Info" wouldn't recognize<br>it as one - but it'd have much the same effect.)<br><br><br>On Thu, 16 Apr 2009, Alexander Repenning wrote:<br><br><blockquote type="cite">is there a tool/script/document helping with the process of merging the PPC with the Intel-Mac binary version(s) into a single app? If I remember right CCL 1.2 did have such a universal binary. Would it be possible to squeeze 64bit and 32 bit intel-macs versions together with a ppc binary into a single app?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">alex<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Prof. Alexander Repenning<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">University of Colorado<br></blockquote><blockquote type="cite">Computer Science Department<br></blockquote><blockquote type="cite">Boulder, CO 80309-430<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">vCard: <a href="http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf">http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; 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; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; 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; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; 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; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Prof. Alexander Repenning</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px">University of Colorado</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Computer Science Department</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Boulder, CO 80309-430</p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">vCard: <a href="http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf">http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf</a></font></p><br class="Apple-interchange-newline"></span></span></span></div></span> </div><br></body></html>