I am using parameters suggested on this page (modified for armv7a):
http://michellcomputing.co.uk/blog/2014/05/freepascal-2-7-1-on-raspberry-pi/
OPT="-dREVINC -dFPC_ARMHF -CX -CpARMV7A -CfVFPV3_D16 -OpARMV7A -O2
-OoFASTMATH -XX -Xs"
as your error seems to be caused by some conditional parsing
On 6/28/2015 4:47 AM, Jonas Maebe wrote:
1) the error you get means that the "fpc" binary is not in your path.
Building FPC always has been and always will be only supported with an
existing, complete installation of the latest FPC release in your path
2) FPC 2.6.4 does not contain ARMHF supp
On 28/06/15 04:01, Andrew Brunner wrote:
> I recently installed fpc-2.6.4 on my Wandboard-Quad for production. I
> have fpc from svn but I get an error when I try to build.
>
> Compiling ARM Free Pascal Compiler...
> make clean all OPT=-O- DEBUG=1 OS_TARGET=linux CPU_TARGET=armhf
> CPU_SOURCE=arm