- Free Pascal Compiler. If you already installed FPC under a previous Mac OS X/OS X/macOS version, you will have to reinstall FPC 3.0.4a under macOS 10.14 to get a configuration file that enables the compiler to find the necessary files). See also the section below on how to.
- I'm a beginner Pascal programmer and I recently migrated to the Mac OS X. Today I spent many hours searching for a good Pascal IDE for this OS and found nothing. I used to write code with Geany on Windows and it worked like a charm, I also enjoyed the compiling and running capacity of Geany.
Warning: Legacy information - no longer current
Free pascal Open source compiler for Pascal and Object Pascal. Home News Download Wiki Forum. Supported operating systems include Windows (16/32/64 bit, CE, and native NT), Linux, Mac OS X/iOS/iPhoneSimulator/Darwin, FreeBSD and other BSD flavors, DOS (16 bit, or 32 bit DPMI), OS/2, AIX, Android, Haiku, Nintendo GBA/DS. Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. It is available for different processors: Intel x86, Amd64/x86 64, PowerPC, Sparc. Free Free Pascal Mac OS X 10.0. Lazarus is a professional open-source cross platform IDE powered by Free Pascal. Home About Screenshots FAQ Features Downloads Forum Wiki. Lazarus The professional Free Pascal RAD IDE. Here is the list of changes for Lazarus and Free Pascal: Learn more. We are planning the next release: Lazarus 2.0.10 - June 22, 2020, 04:14:45 pm The.
The mouse does not work in revision version 2.0.4. From version 2.1.2 revision 6226 and possibly up the mouse works.
Mandatory Requirements:
- Apple developer tools (read XCode) and X11
- The freepascal ide
you need: compiler, rtl, (maybe base packages, fcl and extra packages. note: fcl has been moved into packages in version 2.1.2 revision 6655), fvision (i.e. fv) and ide.
compile fv:
cd fv
make clean all
compile the ide (there is no debugger library, just neglect the resulting warning):
cd ide
make clean all
You may use fink (http://www.finkproject.org/) for the installation of freepascal.
The package fpc installs all you need including the fv units and the ide.
Optional Requirements:
due to recent updates the next two steps (installing the vga font and make it accessible in xterm) are not mandatory any longer to get at least a partially working IDE, and consequently may be skipped. You will miss the nice fpc background, for example. (;-)
- install the vga font for xterm
download the vga font here: http://home.earthlink.net/~us5zahns/enl/vga.pcf
for more docs on changing the Xterm font look here: http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/x606.html
copy the font to /usr/X11R6/lib/X11/fonts/misc/
mv your_download_dir/vga.pcf /usr/X11R6/lib/X11/fonts/misc/
check and set file permissions (you have to be root to do this):
cd /usr/X11R6/lib/X11/fonts/misc/
chown root:wheel vga.pcf; chmod 444 vga.pcf
start an xterm in X11 and do:
cd /usr/X11R6/lib/X11/fonts/misc/
mkfontdir
xset fp rehash
Now you should be able to start xterm with the vga font by:
xterm -font vga -r
It is useful to define this as a customized command in X11 (Menu Applications -> Customize...) - set the terminal type to linux
export TERM=linux
or start xterm with
xterm -font vga -r -tn linux
Without this, you may get funny characters at the position of box borders and other, similar places.
You may add this command to your bash startup file. The bash shell of xterm of X11 reads the .bashrc file in your $HOME directory and not .bash_profile. For more information on this topic read the man pages of bash or search for X11 and bash on http://www.macosxhints.com.
For more on fonts, terminals, 8bit characters, ESC codes read Terminal & Fonts.
Starting the IDE:
- start the ide in an xterm
cd your_path/fpc/ide
./fp
In order to get Alt-x you have to press ESC and x.
For easier use you may install freepascal and the ide:
cd your_path/fpc
sudo make install
sudo make -C fv install
sudo make -C ide install
This portal provides an overview of development for macOS (previously marketed as Mac OS X until 2012 and OS X until 2016) with Lazarus and Free Pascal. Development of macOS software is easy with Lazarus using the Cocoa (64 bit) widgetset. The Carbon widgetset is also available but only for 32 bit software and only up to macOS 10.14 Mojave. Apple removed the Carbon framework from macOS 10.15 Catalina (2019) - that operating system and future versions will no longer run any 32 bit software. Other widgetsets like Qt are also supported, but their use requires additional effort. Free Pascal can also be used to develop software for Mac OS Classic and older versions of macOS (before Tiger). |
Platform Portals:Android - Embedded - FreeBSD - iOS - Linux - Mac - WinCE - Windows Topic Portals:New Users - Database Development - Game Development - Hardware and Robotics - HowTo Demos - Science and Technology - Web Development Categories:Mac OS Classic - macOS - Unix - Objective Pascal - Objective C |
This box describes the installation and use of Lazarus and Free Pascal. |
Basic development techniques with Lazarus and Free Pascal are described here, as well as hints for special optimization approaches.
|
Mac Os X Free Software
Free Pascal Compiler Mac Os X
FPC supports several APIs on macOS. |
|