Pascal Abc For Mac Os X



This version The latest release version is 3.2.0

'Unknown developer' error when installing (Mac OS X 10.7 and later)

GNU Pascal is a command-line compiler, but there are plug-ins for the MetroWerks CodeWarrior IDE. There is also the GNU Pascal Xcode integration kit for Apple's XCode IDE. Objective-Pascal dialect, supported on all Mac OS X and iOS targets.Delphi-compatibility of general generics syntax improved. Xcode 3.2.x-4.2 compatibility (Mac OS X 10.6) FPC 3.2.0 is qualified for use with Mac OS X 10.4 till macOS 10.15. There is however an issue when compiling dynamic libraries with FPC under Mac OS X 10.6 due to a bug in the Xcode 3.2.x linker. This bug has been fixed in Xcode 4. On this web page, you find version 3.4.6 u2 of the GNU Pascal Compiler (GPC) for Mac OS X. Latest news - the compiler release is compatible with Mac OS X 10.6. Click to download. GNU Pascal 3.4.6u2 installer for Mac OS X 10.4 PowerPC native and Intel cross-compiler (14.8 MB). GNU Pascal 3.4.6u2 installer for Mac OS X 10.4 Intel native and PowerPC cross-compiler (15.0 MB). Xcode 3.2.x-4.2 compatibility (Mac OS X 10.6) FPC 3.0.2 is qualified for use with Mac OS X 10.4 till OS X 10.11, and with macOS 10.12 and 10.13. There is however an issue when compiling dynamic libraries with FPC under Mac OS X 10.6 due to a bug in the Xcode 3.2.x linker. This bug has been fixed in Xcode 4.

If you get the message that the FPC installer was created by an unknown developer and cannot be opened, right-click (or ctrl-click) on the installation package and choose 'Open' in the contextual menu. If this does not work, you may first have to go to 'System Preferences' -> 'Security & Privacy' -> 'General', and 'Allow apps downloaded from: Mac App Store and Identified developers'. These workarounds are required because we do not pay Apple 99 euro per year, which would prove you can trust us.

Xcode 11+ compatibility (macOS 10.15 Catalina and later)

FPC 3.2.0 is qualified for use with Mac OS X 10.4 till macOS 10.15. Xcode 11+ no longer includes support for compiling Intel 32 bit programs. If you wish to compile such programs, you will have to copy an older Mac OS X SDK from a previous Xcode installation and point the compiler to it with the -XR command line parameter.

Xcode 10+ compatibility (macOS 10.14 Mojave and later)

10.13 FPC 3.2.0 is qualified for use with Mac OS X 10.4 till macOS 10.15. Xcode 10+ installs some command line file in different locations compared to previous releases. If you already installed FPC under a previous Mac OS X/OS X/macOS version, you will have to reinstall FPC 3.2.0 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 install the command line tools.

Xcode 5+ compatibility (OS X 10.9 and later; for OS X 10.8, see below)

FPC 3.2.0 is qualified for use with Mac OS X 10.4 till macOS 10.15. Xcode 5 and later however no longer install the command line tools by default, which are required by FPC. To install them manually, open '/Applications/Utilities/Terminal', execute xcode-select --install and choose 'Install'. Afterwards, FPC will function correctly.Pascal Abc For Mac Os X

Xcode 4.3-5.x compatibility (Mac OS X 10.7/OS X 10.8)

FPC 3.2.0 is qualified for use with Mac OS X 10.4 till macOS 10.15. Xcode 4.3 and later however no longer install the command line tools by default, which are required by FPC. To install them manually, open Xcode, go to Preferences, select 'Downloads;' and install the 'Command Line Tools'. Afterwards, FPC will install and function correctly.

Xcode 3.2.x-4.2 compatibility (Mac OS X 10.6)

FPC 3.2.0 is qualified for use with Mac OS X 10.4 till macOS 10.15. There is however an issue when compiling dynamic libraries with FPC under Mac OS X 10.6 due to a bug in the Xcode 3.2.x linker. This bug has been fixed in Xcode 4. You can work around the bug in Xcode 3.2.x by using the -k-no_order_inits command line parameter when compiling a dynamic library.

Download the 3.2.0 release in 1 big file:

  • fpc-3.2.0.intel-macosx.dmg (162 MB)contains an installation package for compiling Intel (32 bit and 64 bit) programs (updated to install successfully on macOS 10.14 'Mojave').
  • fpc-3.2.0.intel-macosx.cross.powerpc-macosx.dmg (125 MB)contains an add-on installation package for compiling PowerPC (32 and 64 bit) programs.
  • fpc-3.2.0.intel-macosx.cross.ios.dmg (178 MB)contains an installation package for compiling iPhone/iPod Touch/iPad programs. For Xcode templates, see Phil Hess' site.
  • fpc-3.0.5.intel-macosx.cross.ios.dmg (66 MB)contains an installation package for compiling iPhone/iPod Touch/iPad programs. For Xcode templates, see Phil Hess' site.
  • fpc-3.2.0.intel-macosx.cross.jvm.dmg (12 MB)contains an add-on installation package for compiling JVM programs.

Back to mirror list
Back to general download page

Warning: Legacy information - no longer current

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:

Pascal Abc For Mac Os X 10.10

  1. Apple developer tools (read XCode) and X11
  2. 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. (;-)

  1. 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...)
  2. 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:

Pascal Abc For Mac Os X 10.8

  1. 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

Pascal Abc Mac Os X

Retrieved from 'https://wiki.freepascal.org/index.php?title=How_to_get_the_fpc_ide_running_under_Mac_OS_X&oldid=131283'