<div dir="ltr"><div><br></div>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.<div><br></div><div>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:</div><div><span style="font-size:13px">make all OPT=-dFPC_ARMHF</span><br></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">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.</span></div><div><br></div><div>So, is it not possible to compile FPC trunk using FPC stable (2.6.4) on a Raspberry 1?</div><div><br></div><div>Anybody can help me on this? Thank you.</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 1, 2015 at 9:08 PM, John Lee <span dir="ltr"><<a href="mailto:johnelee0@gmail.com" target="_blank">johnelee0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Confused re what bee is using. Line 1 of the email says rpi 1 whereas later he refers to rpi 2 article..<div><br></div><div><div>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?</div><div><br></div><div>Be interested in progress with v3.1.1</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>John</div><div>  <br></div><div><br></div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 28 February 2015 at 16:20, Michael Ring <span dir="ltr"><<a href="mailto:mail@michael-ring.org" target="_blank">mail@michael-ring.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Please try compiling with -O0, when I remember correctly this solves
    the problem<br>
    <br>
    Michael<br>
    <br>
    <div>Am 28.02.15 um 04:42 schrieb Bee:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>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...</div>
        <div><br>
        </div>
        <div>pi@raspi /usr/local/fpc/trunk $ make all OPT=-dFPC_ARMHF<br>
        </div>
        <div><br>
        </div>
        <div>...</div>
        <div>
          <div>make -C linux all</div>
          <div>make[7]: Entering directory
            '/usr/local/fpc/trunk/rtl/linux'</div>
          <div>as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/prt0.o
            arm/<a href="http://prt0.as" target="_blank">prt0.as</a></div>
          <div>as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/dllprt0.o
            arm/<a href="http://dllprt0.as" target="_blank">dllprt0.as</a></div>
          <div>as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/cprt0.o
            arm/<a href="http://cprt0.as" target="_blank">cprt0.as</a></div>
          <div>as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/gprt0.o
            arm/<a href="http://gprt0.as" target="_blank">gprt0.as</a></div>
          <div>as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/ucprt0.o
            arm/<a href="http://ucprt0.as" target="_blank">ucprt0.as</a></div>
          <div>/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</div>
          <div>An unhandled exception occurred at $0005FE8C:</div>
          <div>EAccessViolation: Access violation</div>
          <div>  $0005FE8C</div>
          <div>  $0003CB14</div>
          <div>  $00036B84</div>
          <div><br>
          </div>
          <div>Makefile:3527: recipe for target 'system.ppu' failed</div>
          <div>make[7]: *** [system.ppu] Error 217</div>
          <div>make[7]: Leaving directory
            '/usr/local/fpc/trunk/rtl/linux'</div>
          <div>Makefile:1940: recipe for target 'linux_all' failed</div>
          <div>make[6]: *** [linux_all] Error 2</div>
          <div>make[6]: Leaving directory '/usr/local/fpc/trunk/rtl'</div>
          <div>Makefile:4131: recipe for target 'rtl' failed</div>
          <div>make[5]: *** [rtl] Error 2</div>
          <div>make[5]: Leaving directory
            '/usr/local/fpc/trunk/compiler'</div>
          <div>Makefile:4024: recipe for target 'next' failed</div>
          <div>make[4]: *** [next] Error 2</div>
          <div>make[4]: Leaving directory
            '/usr/local/fpc/trunk/compiler'</div>
          <div>Makefile:4037: recipe for target 'ppc3' failed</div>
          <div>make[3]: *** [ppc3] Error 2</div>
          <div>make[3]: Leaving directory
            '/usr/local/fpc/trunk/compiler'</div>
          <div>Makefile:4041: recipe for target 'cycle' failed</div>
          <div>make[2]: *** [cycle] Error 2</div>
          <div>make[2]: Leaving directory
            '/usr/local/fpc/trunk/compiler'</div>
          <div>Makefile:2805: recipe for target 'compiler_cycle' failed</div>
          <div>make[1]: *** [compiler_cycle] Error 2</div>
          <div>make[1]: Leaving directory '/usr/local/fpc/trunk'</div>
          <div>Makefile:2837: recipe for target 'build-stamp.arm-linux'
            failed</div>
          <div>make: *** [build-stamp.arm-linux] Error 2</div>
        </div>
        <div><br>
        </div>
        <div>According to this article: <a href="http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/" target="_blank">http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/</a>,
          it should be working. But I don't know what are the problems
          with this revision.</div>
        <div><br>
        </div>
        <div>Any hints? Thank you.</div>
        <div><br>
        </div>
        <div>Regards,<span><font color="#888888"><br clear="all">
          <div><br>
          </div>
          -- <br>
          <div>-Bee-<br>
            <br>
          </div>
        </font></span></div><span><font color="#888888">
      </font></span></div><span><font color="#888888">
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
    </font></span></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">-Bee-<br><br></div>
</div></div>