If you read the article, it's clearly said that the FPC v.2.6.4 arm-linux
package was taken from FPC's official SourceForge repository, not from the
apt-get (raspbian) repository. I refered to the article is more about how I
installed FPC on an Raspberry Pi device, not about what I installed. So,
yes... I was trying to install FPC on a Raspberry Pi 1 B+ model, not
Raspberry 2.

After I succesfully installed FPC v.2.6.4 on my Raspberry Pi 1 B+ model, I
tried to compile FPC trunk using this command:
make all OPT=-dFPC_ARMHF

It failed with an access violation while ppc2 was compiling system.pp,
which I think it's still part of the bootstrapping. Even after I updated my
SVN to the latest rev a few hours ago, it still failed.

So, is it not possible to compile FPC trunk using FPC stable (2.6.4) on a
Raspberry 1?

Anybody can help me on this? Thank you.



On Sun, Mar 1, 2015 at 9:08 PM, John Lee <johnel...@gmail.com> wrote:

> Confused re what bee is using. Line 1 of the email says rpi 1 whereas
> later he refers to rpi 2 article..
>
> Which 'v2.6.4 linuxarm' package is referred to in the email, from which
> repo? That from svn apt-get install fpc or another?  How installed?
>
> Be interested in progress with v3.1.1
>
> John
>
>
>
> On 28 February 2015 at 16:20, Michael Ring <m...@michael-ring.org> wrote:
>
>>  Please try compiling with -O0, when I remember correctly this solves the
>> problem
>>
>> Michael
>>
>> Am 28.02.15 um 04:42 schrieb Bee:
>>
>> 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.orghttp://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>>
>>
>>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
>> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>>
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>



-- 
-Bee-
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to