-5

I use Macbook Pro on m2. I want to download FreePascal's ide. But I didn't found on the website. Can you guys help me?

I'm expecting link description for FreePascal.

Thanks.

Raymond Chen
  • 44,448
  • 11
  • 96
  • 135

1 Answers1

3

You'll need to install the Lazarus system, which is available for the M1/M2. The instructions are the same as for an Intel system, so basically you'll want to:

  1. Install Xcode.

  2. Install Xcode command line tools; see also How to install Xcode Command Line Tools) or Embarcadero's help.

  3. Install FPC (Free Pascal Compiler) 3.3.2 or newer. If you're running Homebrew, you could instead install FPC as easily as running this command in the Terminal:

    brew install fpc
    
  4. Install Lazarus 2.2.4 or newer. Again, if you're running Homebrew, this could also be done by running the following command:

    brew install --cask lazarus
    

You can find more details about macOS installations of Lazarus/FPC in general at FreePascal.

And in particular support regarding Apple Silicon (M1/M2):

  • Note that the current FPC version 3.2.2 is already compiled for M1/M2. You're downloading an universal binary that will work natively on both Intel and Apple Silicon machines.
  • Also note that FPC 3.2.2 together with Lazarus 2.2.x (the above version) is listed as Compatible (green) for Apple Silicon M1/M2 on Big Sur and Monterey.
AmigoJack
  • 5,234
  • 1
  • 15
  • 31
jksoegaard
  • 901
  • 1
  • 12
  • 21