Forum > macOS / Mac OS X

Installing Pascal on MacBook Pro Intel BigSur11.5.2

(1/2) > >>

i am a fresh math Student from Germany and i am in need to install Pascal on my Macbook. I have an MacbookPro with BigSur11.5.2 Software. Furthermore i installed the XCode12.5.1 Version and Lazarus IDE2.2ORC1
I tried to install the Pascal Software, but there is nothing to see in my Launchpad.

Could anyone please help me to install Pascal?

Thank you very much.

Provided that you have installed the three packages (Lazarus, FPC binaries and FPC source) you should be good to go.

If you wish to use FPC outside of the Lazarus IDE, open an Applications> Utilities > Terminal window and compile a program using "fpc myProgram.pas".

There is no separate entry in Launchpad for the Free Pascal Compiler because it is a command line program which the Lazarus IDE takes care of calling for you.

trev, thank you very much for your respond.

But sadly i dont understand nothing...

If i go into the Terminal and fill in the "fpc myprogramm.pas"
there will come:

Last login: Sun Aug 22 18:36:52 on console

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit
gasts-MBP:~ gast$ fpc myprogramm.pas
Free Pascal Compiler version 3.2.0 [2020/05/31] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Darwin for x86_64
Compiling myprogramm.pas
Fatal: Cannot open file "myprogramm.pas"
Fatal: Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode
gasts-MBP:~ gast$


I am just in need to open the classic pascal software -like in the windows version- , to do the steps as in my learningbook is written.

To ask again for a "stupid german student  :) ":
How am i able to open the Pascal programm? - Or how do i get this site:


I´ve not opened a Terminal and  window and execute "xcode-select --install".
Now i ´ll have to download the tool and we will see what happened.

Detailed instructions for installing the Lazarus IDE and FPC may be found in the wiki article Installing Lazarus on macOS.

--- Quote ---Fatal: Cannot open file "myprogramm.pas"
--- End quote ---

Do you have a file named myprogramm.pas in the directory?

--- Quote ---to do the steps as in my learning book
--- End quote ---

I do not know what is in your book :(

--- Quote ---Or how do i get this site
--- End quote ---

Go to Applications > Lazarus and click on

Of course, you do need to install the Xcode command line tools.

Let us know if you have any problems.


[0] Message Index

[#] Next page

Go to full version