[fpc-pascal] PasCocoa design

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Feb 13 16:27:04 CET 2009


On Fri, Feb 13, 2009 at 3:46 PM, Travis Siegel <tsiegel at softcon.com> wrote:
> I've actually downloaded the pascocoa code, but I have no idea what to do
> with it.

You should start by compiling one of the example projects to check if
everything is ok, and also use them as a start point to your projects.

I compile them by opening the respective Lazarus project, which sets
the appropriate paths. You can also built them from the command line.
Should be something similar to:

fpc -Fu../ (insert other necessary -Fu and -Fi here) -k-framework
-kCocoa -k-lobjc statusitem.pas

> Where are these source pieces supposed to go?

Anywhere you want. Usually somewhere in your user directory. Then you
add -Fu when calling FPC so that it can find the units

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list