[fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?
bo.berglund at gmail.com
Sun Jan 8 11:20:15 CET 2017
On Sat, 7 Jan 2017 12:24:39 +0100 (CET), "Karoly Balogh (Charlie/SGR)"
<charlie at scenergy.dfmk.hu> wrote:
>On Sat, 7 Jan 2017, Bo Berglund wrote:
>> I went ahead and tried the command but it failed miserably...
>> pi at rpi3-jessie:~/dev/fpc/3.0.2RC1 $ make all install
>> INSTALL_PREFIX="/home/pi/bin/fpc/3.0.2RC1" OPT="-dFPC_ARMHF"
>With FPC, You need to specify the whole path to the ppcarm binary, not the
>directory you installed 3.0 into. As I said, you need nothing in fact from
>3.0, but ppcarm.
I mis-interpreted your post to mean the *directory* of the compiler.
After adding /ppcarm in the end it did complete!
Then I went looking for the new ppcarm compiler and found it in these
/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
Is there a reason for this strange behaviour? Especially why the
actual new compiler was placed in such a remote place?
Developer in Sweden
More information about the fpc-pascal