[fpc-devel] M1 and Mac system support?

Richard Hyman rickhyman1 at gmail.com
Thu Sep 22 01:52:04 CEST 2022


All,

I have a couple of questions WRT FPC on the Mac. I have tried searching
archives without success. I hope this is the right place to ask.

I am trying to help a friend (a mathematician) to run an app he wrote using
FPC. He needs to run a lot of instances of his app (8 hours per run), and
he wants to be able to run multiple instances simultaneously under system
control.

1.  Does FPC compile natively for the ARM Macs, specifically an M1? Docs I
found do not directly answer this question (he's thinking about purchasing
an M1 Mac mini).

2.  Does FPC provide any support for interfacing to the system?

a.  Can an FPC compiled app be run from the terminal with recognition of
input parameters (standard I/O). E.G. run something such as "myApp
/../myInputFile.txt   /../myOutputFile.txt", and have the app parse $1 and
$2 for the input and output files?

If FPC supports standard I/O, how is it accomplished within the app?

b.  Does FPC support Mac system APIs? This is a general question since API
support in any one of several areas (beyond graphics for example) would be
beneficial.

   TIA!
Rhyman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220921/dd9ab801/attachment.htm>


More information about the fpc-devel mailing list