[fpc-pascal] beginner in pascal for Mac

Ingemar Ragnemalm ingemar at ragnemalm.se
Fri Jan 18 17:24:24 CET 2008


fpc-pascal-request at lists.freepascal.org wrote:
> Damien Gerard wrote:
>
> On Jan 15, 2008, at 11:54 AM, Ezequiel Tacsir wrote:
>
>   
>> I was used to wok with freepascal on windows. Now, I have switch to  
>> mac (10.5) and would like to know what are the things that I need to  
>> have it running. If anybody can send me a basic tutorial for  
>> installation, running and so on, I will be delighted.
>>     
>
> Using FPC on a mac is really easy if you are comfortable with Terminal  
> and I use it every days.
> After that, I don't know, my Vim is for me really really more  
> efficient that any text editor :)
>   

Installation is easy. You need to install the developer tools (Xcode, 
but the GCC linker is the important thing), but both the Xcode and FPC 
installers are Mac standard installers, no trouble. (Perhaps the best 
feature with the Mac is the excellent installation systems.) After 
installing Xcode, you can trash the entire Developer folder if you don't 
want the applications (freeing up most of the disk space). The important 
things are installed in /usr/local, which is only visible from the Terminal.

If command-line work is all you want, the Terminal is what you want. 
Plus a text editor. Nobody (?) does text editing on the command line any 
more, but there are plenty of nice text editor to choose from.

When fed up with command-line compilations, you can consider two IDE 
options: Xcode (with plug-ins) or Lightweight IDE. I wrote Lightweight 
IDE myself after giving up Xcode and found myself back at the command-line.


/Ingemar




More information about the fpc-pascal mailing list