<div>That's great help Jonas; thanks.</div>
<div> </div>
<div>As with my question (c), yes I mean what in the compiler did you</div>
<div>need to modify or focus on the most ?</div>
<div> </div>
<div>It's a bit broad may be but I think you only need to really</div>
<div>worry about the code-generation for, say, G5 64-bit ABI</div>
<div>and instruction set ? The rest of the code shouldn't need much change.<br></div>
<div><br> </div>
<div class="gmail_quote">On Sun, Jan 10, 2010 at 2:00 PM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be">jonas.maebe@elis.ugent.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im"><br>On 10 Jan 2010, at 14:45, London Disney wrote:<br><br>> a) How do we use fpc/laz to make Mach-O fat binaries?<br><br></div>Compile the different versions separately and then combine them using the "lipo" tool.<br>

<div class="im"><br>> b) Which versions was the first to support Intel Macs and which<br><br></div>2.2.0<br>
<div class="im"><br>>     version was the first to support G5 64-bit PPC ?<br><br></div>2.4.0 (on Mac OS X at least, it was supported earlier on Linux). Of course, 32 bit PPC code runs just fine on G5's.<br>
<div class="im"><br>> c) How did the community made a tranition to G5 as well as<br>>    the Intel Macs in terms of related modifications in the<br>>    original FPC compilers (which sections in general, was it<br>
>    the fpc itself or did you use other compilers, etc )?<br><br></div>I don't understand what you are asking here. Are you asking how the compiler was modified ("related modifications in the original FPC compilers"), whether people writing programs with FPC switched to other compilers ("or did you use other compilers"), or something else?<br>
<br>In any case, I think that very few people ever compiled PPC64 apps on Mac OS X (even with GCC), since there are very few advantages in doing so (the only real ones are if you have a lot of 64 bit arithmetic, or need a lot of memory). And only as of Mac OS X 10.5 it was possible to create 64 bit gui apps.<br>

<div class="im"><br>> d) I am still not used to Cocoa and Objective-C (Intel Leopard 10.5)<br>>    however it makes sense for me to ask how does fpc/laz link to<br>>    the Cocoa libraries/frameworks? So for instance under<br>
>    WinTel there's the C/C++ DLLs and the compiler can<br>>    use the right calling conventions (WIN_API) to coimmunicate<br>>    with them (as an interface) -- so what's the mechanism<br>>    for MacOSX ?  LCL does use Cocoa doesn't it ? and if<br>
>   I'm not wrong Cocoa is mostly or totally in ObjC...<br><br></div>With FPC 2.4.x and earlier: <a href="http://wiki.freepascal.org/PasCocoa" target="_blank">http://wiki.freepascal.org/PasCocoa</a><br>With FPC 2.5.x and later: <a href="http://wiki.freepascal.org/FPC_PasCocoa" target="_blank">http://wiki.freepascal.org/FPC_PasCocoa</a><br>

<div>
<div></div>
<div class="h5"><br><br>Jonas_______________________________________________<br>fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br><a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br>