<div dir="ltr"><div>Progress on hello world program, but link problem - Do I need -T or is it something else eg </div><div><br></div><div>pi@raspberrypi ~/Desktop/eabihf/lib/fpc/3.0.1 $ ./ppcarm -Fuunits/arm-linux/rtl hello</div><div>Free Pascal Compiler version 3.0.1 [2015/08/14] for arm</div><div>Copyright (c) 1993-2015 by Florian Klaempfl and others</div><div>Target OS: Linux for ARMHF</div><div>Compiling hello.pas</div><div>Assembling program</div><div>Linking hello</div><div><br></div><div>/usr/bin/ld: warning: link.res contains output sections; did you forget -T?</div><div>4 lines compiled, 0.8 sec</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 August 2015 at 16:37, 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">Oops sorry, ignore this, my finger trouble! Got 3.0.1 now using ./ppcarm from ..lib/fpc/3.01.<div><br></div><div>Can I install this version as fpc? </div><span class="HOEnZb"><font color="#888888"><div>john</div><div> <div><br></div><div><br></div><div><br></div><div>  </div></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 29 August 2015 at 16:30, 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">Dohhh, still getting 2.6.4.  <div><br></div><div>Did you mean ppcarm? </div><div><br></div><div>Downloaded fpc_eabihf_3_0_1.tar.gz, extracted  </div><div><br></div><div>If I cd to eabihf/lib/fpc/3.0.1  there is ppcarm of 14th Aug there but running ppcarm still gives 2.6.4!</div><div><br></div><div>Or should I do exec ppcarm?</div><span><font color="#888888"><div><br></div><div>John</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 29 August 2015 at 12:52, Martin Schreiber <span dir="ltr"><<a href="mailto:mse00000@gmail.com" target="_blank">mse00000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Saturday 29 August 2015 13:32:57 John Lee wrote:<br>
> Just downloaded the non debug version onto my rpi 2. Extracted - 6 files in<br>
> /bin, including fpc but it is 2.6.4 not 3.0. Any ideas?<br>
<br>
</span>Try to start<br>
"<br>
<your extracting dir of<br>
fpc_eabihf_3_0_1.tar.gz>/eabihf/lib/fpc/3.0.1/ppcrossarm<br>
"<br>
directly. /bin/fpc probably picks the wrong compiler.<br>
<div><div><br>
Martin<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" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>