<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    You first need to check out the sourcecode from svn:<br>
    <meta http-equiv="content-type" content="text/html;
      charset=windows-1252">
    <pre>svn checkout <a class="moz-txt-link-freetext" href="http://svn.freepascal.org/svn/fpc/trunk">http://svn.freepascal.org/svn/fpc/trunk</a> fpc
</pre>
    then change into the fpc directory and enter the build commands line
    by line.<br>
    <br>
    and yes, this is all done on the host, not on the raspberry pi; Host
    means a linux or a mac system, I understand that Chris is using a
    linux system so the commands should be fine.<br>
    <br>
    Michael<br>
    <br>
    <div class="moz-cite-prefix">Am 18.08.15 um 18:01 schrieb John Lee:<br>
    </div>
    <blockquote
cite="mid:CAMWP1+bK7V-iEV1jkjP-j5Vnr1BaKApwx-MjHf+Hcfcq+MKq3w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Did I miss something? - where does it it get the
        rtl & compiler source?  TIA John </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 18 August 2015 at 16:27, Chris Moody
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:inquiry@greensnakedesign.com" target="_blank">inquiry@greensnakedesign.com</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"><span class=""> <br>
                <br>
                <div>On 08/18/2015 01:24 AM, Michael Ring wrote:<br>
                </div>
                <blockquote type="cite"> This is how I build fpc trunk
                  cross compiler:<br>
                  <br>
                    echo "Building fpchf-linux from trunk"<br>
                    SUBARCH=armv7<br>
                    CROSSOPT="-dREVINC -dFPC_ARMHF -CX -CpARMV7A
                  -CfVFPV3_D16 -OpARMV7A -O2 -OoFASTMATH -XX -Xs"<br>
                    //CROSSOPT="-dREVINC -dFPC_ARMHF -CX -CpARMV6
                  -CfVFPV2 -OpARMV6 -O2 -OoFASTMATH -XX -Xs"<br>
                    OPT="-dFPC_ARMHF"<br>
                    make clean buildbase  CROSSINSTALL=1 OS_TARGET=linux
                  CPU_TARGET=arm  OPT="$OPT" OVERRIDEVERSIONCHECK=1
                  CROSSOPT="$CROSSOPT"
                  BINUTILSPREFIX=arm-linux-gnueabihf- || exit 1<br>
                    sudo make installbase CROSSINSTALL=1 OS_TARGET=linux
                  CPU_TARGET=arm  OPT="$OPT" OVERRIDEVERSIONCHECK=1
                  CROSSOPT="$CROSSOPT"
                  BINUTILSPREFIX=arm-linux-gnueabihf- || exit 1<br>
                    sudo mv /usr/local/lib/fpc/3.1.1/ppcrossarm
                  /usr/local/lib/fpc/3.1.1/ppcrossarmhf<br>
                  <br>
                  Please note that the rtl is fine for Raspberry Pi 2
                  (the new quad core board) as this is a version that
                  uses armv7 commandset.<br>
                  <br>
                  For old Raspberry Pi you need to use the commented out
                  CROSSOPT, this will create rtl that is suitable for
                  old raspberries.<br>
                  <br>
                  You should not try to use fpc 2.6.4 as this compiler
                  does not support armhf. Most likely the 3.0
                  pre-release will compile the same way, but I never
                  tried.<br>
                  <br>
                  You need to have cross-binutils installed as you need
                  arm-linux-gnueabihf-* tools to be able to successfully
                  compile. <br>
                  <br>
                  Michael<br>
                    <br>
                </blockquote>
              </span> Hi Michael,<br>
              <br>
              Just to make sure, I run the script on the desktop right?
              just to make sure its not to be ran on the Pi.<br>
              <br>
              Thanks again!<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Chris<br>
                </font></span></div>
            <br>
            _______________________________________________<br>
            fpc-pascal maillist  -  <a moz-do-not-send="true"
              href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal"
              rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
    </blockquote>
    <br>
  </body>
</html>