[fpc-pascal] what needs changed to compile going from Carbon to Cocoa

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Feb 4 22:36:41 CET 2009


On 04 Feb 2009, at 22:29, Ken G. Brown wrote:

> I've started my project from the FPC-C-C++ Carbon Application 2.2.0  
> template, have it compiling nicely now even tho it does not yet run  
> from Finder. Now i would like to change it to a Cocoa app.
>
> What settings do I need to change to accomplish this?

Going from Carbon to Cocoa is not a setting that you can change. It's  
a completely different API that you have to program against. Support  
for creating Cocoa FPC programs is still experimental at this point.  
See http://wiki.freepascal.org/PasCocoa for the basics and more  
information.


Jonas



More information about the fpc-pascal mailing list