<div dir="ltr"><div class="gmail_extra">It looks like your</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:16px">/home/luca/Development/</span><span style="font-size:16px">FreePascal/fpc/bin/fpc.cfg</span><br></div><div class="gmail_extra"><span style="font-size:16px"><br></span></div><div class="gmail_extra"><span style="font-size:16px">Is being interpreted incorrectly and the wrong </span><span style="font-size:16px">ppcx64</span><span style="font-size:16px"> is being used. This line in setup.sh is correctly setting the config path.</span></div><div class="gmail_extra"><span style="font-size:16px"><br></span></div><div class="gmail_extra"><span style="font-size:16px">PPC_CONFIG_PATH=$BASE/fpc/bin</span><br></div><div class="gmail_extra"><span style="font-size:16px"><br></span></div><div class="gmail_extra"><span style="font-size:16px">But this line isn't generating the correct fpc.cfg values.</span></div><div class="gmail_extra"><span style="font-size:16px"><br></span></div><div class="gmail_extra"><span style="font-size:16px">$PPC_CONFIG_PATH/fpcmkcfg -d basepath=$BASE/fpc/lib/fpc/\$FPCVERSION -o $PPC_CONFIG_PATH/fpc.cfg</span><br></div><div class="gmail_extra"><span style="font-size:16px"><br></span></div><div class="gmail_extra">In the end you have a compiler conflict where you existing fpc in /usr/bin/ppcx64 is being used instead of the new one in /home/luca/Development/FreePascal/fpc/bin/ppcx64.</div><div class="gmail_extra"><br></div><div class="gmail_extra">First, check if /home/luca/Development/FreePascal/fpc/bin/ppcx64 exists. Second write the following and see what is reported:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">OLD_PATH=$PATH</div><div class="gmail_extra">export PATH=$PATH:/home/luca/Development/FreePascal/fpc/bin</div><div class="gmail_extra">export PPC_CONFIG_PATH=/home/luca/Development/FreePascal/fpc/bin</div><div class="gmail_extra">fpc -iV</div><div>PATH=$OLD_PATH<br></div><div><br></div></div><div class="gmail_extra">If you don't see:</div><div class="gmail_extra"><br></div><div class="gmail_extra">3.0.1</div><div class="gmail_extra"><br></div><div class="gmail_extra">Then I need to fix the <span style="font-size:16px">fpcmkcfg line to compensate for other preexisting versions of FPC which is reading fpc.cfg differently. In the interim I've posted a new setup.sh which should </span><span style="font-size:16px">temporarily</span><span style="font-size:16px"> put the new compiler first in the path giving it precedence. To try again use the following commands:</span></div><div class="gmail_extra"><span style="font-size:16px"><br></span></div><div class="gmail_extra"><span style="font-size:16px">rm -rf </span>/home/luca/Development/FreePascal</div><div class="gmail_extra">curl -L <a href="http://www.getlazarus.org/download/?platform=linux">http://www.getlazarus.org/download/?platform=linux</a> -o setup.sh<br></div><div class="gmail_extra">sh setup.sh</div><div class="gmail_extra"><br></div><div class="gmail_extra">After setup is complete try:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">OLD_PATH=$PATH</div><div class="gmail_extra">export PATH=/home/luca/Development/FreePascal/fpc/bin/:$PATH</div><div class="gmail_extra">export PPC_CONFIG_PATH=/home/luca/Development/FreePascal/fpc/bin</div><div class="gmail_extra">fpc -iV</div><div>PATH=$OLD_PATH</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">And let me know if it reads:</div><div class="gmail_extra"><span style="font-size:16px"><br></span></div><div class="gmail_extra"><div class="gmail_extra">3.0.1</div></div></div>