[fpc-pascal] Help building FPC on armhf

Michael Ring mail at michael-ring.org
Mon Jun 29 14:53:37 CEST 2015


At least for debian the values for Floating point should be OK for the 
Wandboard:

"Currently the Debian armhf port requires at least an ARMv7 CPU with 
Thumb-2 and VFP3D16." (https://wiki.debian.org/ArmHardFloatPort)

Michael

Am 29.06.15 um 14:41 schrieb Jonas Maebe:
>
> Andrew Brunner wrote on Sun, 28 Jun 2015:
>
>> make clean all OPT=-dARMHF DEBUG=1 OS_TARGET=linux CPU_TARGET=arm 
>> CPU_SOURCE=arm
>>
>> Building crashes at compiling system.pp
>>
>> as   -o /Developer/FPC/rtl/units/arm-linux/dllprt0.o arm/dllprt0.as
>> as  -o /Developer/FPC/rtl/units/arm-linux/cprt0.o arm/cprt0.as
>> as  -o /Developer/FPC/rtl/units/arm-linux/gprt0.o arm/gprt0.as
>> as  -o /Developer/FPC/rtl/units/arm-linux/ucprt0.o arm/ucprt0.as
>> /Developer/FPC/compiler/ppc1 -Ur -gl -Ur -Xs -O2 -n -Fi../inc 
>> -Fi../arm -Fi../unix -Fiarm -FE. 
>> -FU/Developer/FPC/rtl/units/arm-linux -dARMHF -darm -dDEBUG -dRELEASE 
>> -Us -Sg system.pp
>> flt_pack.inc(119,5) Error: Syntax error while parsing a conditional 
>> compiling expression
>
> That suggests a miscompiled ppc1. You can try using OPT="-dARMHF -O-" 
> for the initial bootstrap to avoid potential wrong optimisations by 
> the 2.6.4 starting compiler. Unrelated to this, you should probably 
> also specify the correct architecture and VFP version for your 
> platform, similar to what Michael suggested (but not necessarily the 
> same, as it depends on your CPU).
>
>
> Jonas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150629/16a51bdd/attachment.html>


More information about the fpc-pascal mailing list