[fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?
bo.berglund at gmail.com
Thu Jan 5 10:40:15 CET 2017
On Thu, 5 Jan 2017 02:07:00 +0100 (CET), "Karoly Balogh (Charlie/SGR)"
<charlie at scenergy.dfmk.hu> wrote:
>On Thu, 5 Jan 2017, Bo Berglund wrote:
>> I just need the seed compiler to be able to build FPC from sources.
>> And build Lazarus of course.
>Then you need "ppcarm" from that archive, and nothing else. Just copy it
>whereever you want, in your home dir, or something and do:
>make all install FPC=<path/to/seed/ppcarm> INSTALL_PREFIX=<install/new/fpc/here>
>in the root of the SVN tree.
>FPC works from pretty much anywhere. You can have multiple copies in your
>home easily. It doesn't have to be installed at a certain location.
Thanks for the info!
I will put the ppcarm file into a new tar file and upload this to my
website as the seed compiler. Then I will modify my install script to
get this tar file rather than the one it now gets (2.6.4 from SF).
And I will NOT put it into /usr/bin but keep it somewhere in the home
What I also need to do is to create a fpc.cfg file and put that in a
proper location. In the setup.sh file in the download I found this
# Create the cfg file
$FPCDIR/bin/fpcmkcfg -d basepath=$FPCDIR/lib/fpc/\$FPCVERSION -o
I should be able to use something similar provided I also add fpcmkcfg
into the tar file, right? Seems like it deposits the fpc.cfg file in
the same dir as ppcarm. Will such a file override any same name file
located on path?
Note that my install script is made to assume nothing about the target
RPi system, so it must contain everything needed.
Developer in Sweden
More information about the fpc-pascal