[fpc-pascal] Help building FPC on armhf

Andrew Brunner atbrunner at aurawin.com
Sun Jun 28 14:16:10 CEST 2015



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 support (except in an unofficial, 
> and completely unsupported by us, Debian backport) 3) "ARM hard float" 
> not a different kind of CPU compared to ARM. To build FPC for ARM 
> hard-float using a non-ARMHF compiler, perform a make all for 
> CPU_TARGET=ARM with OPT="-dARMHF"

Thanks Jonas,  I was able to get a bit further along in the build process.

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
system.inc(1884,8) Warning: Implicit string type conversion from 
"RawByteString" to "UnicodeString"
system.pp(377) Fatal: There were 1 errors compiling module, stopping
Makefile:3573: recipe for target 'system.ppu' failed
make[7]: *** [system.ppu] Error 1
make[7]: Leaving directory '/Developer/FPC/rtl/linux'
Makefile:1950: recipe for target 'linux_all' failed
make[6]: *** [linux_all] Error 2
make[6]: Leaving directory '/Developer/FPC/rtl'
Makefile:4157: recipe for target 'rtl' failed
make[5]: *** [rtl] Error 2
make[5]: Leaving directory '/Developer/FPC/compiler'
Makefile:4046: recipe for target 'next' failed
make[4]: *** [next] Error 2
make[4]: Leaving directory '/Developer/FPC/compiler'
Makefile:4055: recipe for target 'ppc2' failed
make[3]: *** [ppc2] Error 2
make[3]: Leaving directory '/Developer/FPC/compiler'
Makefile:4063: recipe for target 'cycle' failed
make[2]: *** [cycle] Error 2
make[2]: Leaving directory '/Developer/FPC/compiler'
Makefile:2826: recipe for target 'compiler_cycle' failed
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory '/Developer/FPC'
Makefile:2858: recipe for target 'build-stamp.arm-linux' failed
make: *** [build-stamp.arm-linux] Error 2


-- 
Andrew Brunner

Aurawin LLC
512.850.3117
https://aurawin.com/

Aurawin is a great new way to store, share and enjoy your photos, videos, music, and more.




More information about the fpc-pascal mailing list