I got compatible ppcarm and started my compile using following command
make all OPT=-dFPC_ARMHF PP=/home/pi/fpc-3.1/bin/ppcarm
In the middle of compilation I got below error:
[ 50%] Compiled package utils-fprcp
Start compiling package utils-h2pas for target arm-linux.
Executing command "/home/pi/fpc-3.1/bin/pyacc h2pas/h2pas.y h2pas/h2pas.pas"
The installer encountered the following error:
External command "/home/pi/fpc-3.1/bin/pyacc h2pas/h2pas.y h2pas/h2pas.pas" failed with exit code 256. Console output:
TP Yacc Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef
FATAL: cannot open file /usr/lib/fpc/lexyacc/yyparse.cod
Makefile:2426: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/pi/fpc/source/utils'
Makefile:2696: recipe for target 'utils_all' failed
make[1]: *** [utils_all] Error 2
make[1]: Leaving directory '/home/pi/fpc/source'
Makefile:2940: recipe for target 'build-stamp.arm-linux' failed
make: *** [build-stamp.arm-linux] Error 2
There is no directory /usr/lib/fpc in my system. But I do have /home/pi/fpc-3.1/lib/fpc/lexyacc/yyparse.cod
Source version details:
pi@raspberrypi:~/fpc/source $ svn info
Path: .
Working Copy Root Path: /home/pi/fpc/source
URL: https://svn.freepascal.org/svn/fpc/trunk
Relative URL: ^/trunk
Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 37788
Node Kind: directory
Schedule: normal
Last Changed Author: karoly
Last Changed Rev: 37788
Last Changed Date: 2017-12-23 17:05:09 +0300 (Sat, 23 Dec 2017)
Any idea anyone?