Hi, I just got my Raspberry 1 B+ and I wanted to install latest FPC (and Lazarus) on it. I got FPC v.2.6.4 installed from the linux-arm package. But then it failed to compile latest source from SVN (v.3.1.1 rev 30028). Here's the messages before the compilation failed...
pi@raspi /usr/local/fpc/trunk $ make all OPT=-dFPC_ARMHF ... make -C linux all make[7]: Entering directory '/usr/local/fpc/trunk/rtl/linux' as -o /usr/local/fpc/trunk/rtl/units/arm-linux/prt0.o arm/prt0.as as -o /usr/local/fpc/trunk/rtl/units/arm-linux/dllprt0.o arm/dllprt0.as as -o /usr/local/fpc/trunk/rtl/units/arm-linux/cprt0.o arm/cprt0.as as -o /usr/local/fpc/trunk/rtl/units/arm-linux/gprt0.o arm/gprt0.as as -o /usr/local/fpc/trunk/rtl/units/arm-linux/ucprt0.o arm/ucprt0.as /usr/local/fpc/trunk/compiler/ppc2 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -FE. -FU/usr/local/fpc/trunk/rtl/units/arm-linux -dFPC_ARMHF -darm -dRELEASE -Us -Sg system.pp An unhandled exception occurred at $0005FE8C: EAccessViolation: Access violation $0005FE8C $0003CB14 $00036B84 Makefile:3527: recipe for target 'system.ppu' failed make[7]: *** [system.ppu] Error 217 make[7]: Leaving directory '/usr/local/fpc/trunk/rtl/linux' Makefile:1940: recipe for target 'linux_all' failed make[6]: *** [linux_all] Error 2 make[6]: Leaving directory '/usr/local/fpc/trunk/rtl' Makefile:4131: recipe for target 'rtl' failed make[5]: *** [rtl] Error 2 make[5]: Leaving directory '/usr/local/fpc/trunk/compiler' Makefile:4024: recipe for target 'next' failed make[4]: *** [next] Error 2 make[4]: Leaving directory '/usr/local/fpc/trunk/compiler' Makefile:4037: recipe for target 'ppc3' failed make[3]: *** [ppc3] Error 2 make[3]: Leaving directory '/usr/local/fpc/trunk/compiler' Makefile:4041: recipe for target 'cycle' failed make[2]: *** [cycle] Error 2 make[2]: Leaving directory '/usr/local/fpc/trunk/compiler' Makefile:2805: recipe for target 'compiler_cycle' failed make[1]: *** [compiler_cycle] Error 2 make[1]: Leaving directory '/usr/local/fpc/trunk' Makefile:2837: recipe for target 'build-stamp.arm-linux' failed make: *** [build-stamp.arm-linux] Error 2 According to this article: http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/, it should be working. But I don't know what are the problems with this revision. Any hints? Thank you. Regards, -- -Bee-
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal