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

Sven Barth pascaldragon at googlemail.com
Sun Jan 8 11:25:58 CET 2017

On 08.01.2017 11:20, Bo Berglund wrote:
> On Sat, 7 Jan 2017 12:24:39 +0100 (CET), "Karoly Balogh (Charlie/SGR)"
> <charlie at scenergy.dfmk.hu> wrote:
> Then I went looking for the new ppcarm compiler and found it in these
> locations:
> /home/pi/dev/fpc/3.0.2RC1/compiler/ppcarm (in the source tree)
> /home/pi/bin/fpc/3.0.2RC1/lib/fpc/3.0.2/ppcarm (in the install tree)
> I guess that the first location is the result of make all command and
> the second of the install command?


> My question now is why the compiler binary was placed into the
> subdirectory lib/fpc/3.0.2/ of the INSTALL_PREFIX path rather than in
> that directory itself?
> And it seems like the other compiled binaries are collected in one
> place, but that is also a subdirectory...
> So all of the other binaries were placed in
> /home/pi/bin/fpc/3.0.2RC1/bin
> Is there a reason for this strange behaviour? Especially why the
> actual new compiler was placed in such a remote place?

The install make target places the main binaries in /bin and the ppcXXX
binaries in /lib/fpc/$VERSION as this follows Posix principles.
INSTALL_PREFIX does exactly what its name says: it adds a prefix to
these paths.


More information about the fpc-pascal mailing list