[fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

Bo Berglund bo.berglund at gmail.com
Tue Jan 10 14:26:20 CET 2017

On Tue, 10 Jan 2017 11:30:35 +0100, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:

>Lazarus does not need the FPC sources for building.
>> (3104) Compiling fcllaz.pas
>> Fatal: (10022) Can't find unit system used by fcllaz
>> Fatal: (1018) Compilation aborted
>> The file ~/.fpc.cfg has been generated by running command:
>> fpcmkcfg -o ./.fpc.cfg
>> But I have not edited it in any way.
>Check its -Fu paths.

This is what I found:
# searchpath for units and other system dependent things

It does not really look like a path, at least not a full path.
What should the correct setting be?

>> The unit system it fails to find is in the fpc sources, so somehow
>> make must be told where they are located...
>It fails to find the "unit", not the sources. Either a ppu is missing
>or is incompatible.

I found the system.ppu as follows:

~ $ find /home/pi/ -name system.ppu

Given that path, what would the correct fpc.cfg setting be?
Something like this perhaps:


I read in a googled article
that one should set these (obviously they are for Windows, but


Tried to adapt that but to no avail (of course thinking about
sourcefiles then). So this is tested:


Bo Berglund
Developer in Sweden

More information about the fpc-pascal mailing list