<div class="gmail_quote">2011/11/28 Henry Vermaak <span dir="ltr"><<a href="mailto:henry.vermaak@gmail.com">henry.vermaak@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There is an arm release for 2.6.0rc1, but it was built using old binutils (last time I checked, at least):<br>
<br>
<a href="ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/arm-linux/" target="_blank">ftp://freepascal.stack.nl/pub/<u></u>fpc/beta/2.6.0-rc1/arm-linux/</a><br></blockquote><div><br>I finally got into installing and testing FPC in the ARM-gadget.<br>
Other people had replaced the original Debian with Ubuntu 9.something.<br>I was able to copy and install your FPC 2.6.0-rc1 package there. It was easier than I thought!<br>The compiler itself works but assembler is missing. See :<br>
---<br>root@ubuntu:/usr/share/doc/fpc-2.6.0/examples/text# fpc hello.pp <br>Free Pascal Compiler version 2.6.0rc1 [2011/10/20] for arm<br>Copyright (c) 1993-2011 by Florian Klaempfl and others<br>Target OS: Linux for ARMEL<br>
Compiling hello.pp<br>Assembling hello<br>hello.pp(19,27) Error: Assembler as not found, switching to external assembling<br>hello.pp(19,27) Fatal: There were 1 errors compiling module, stopping<br>---<br><br>Does it mean an assembler is always needed with ARM? In my understanding x86 based PCs don't need a separate assembler with FPC.<br>
"apt-get install as" didn't install anything.<br><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
So you'll probably have to build it yourself. It does build fine natively on Ubuntu for arm, if you have a bootstrap compiler that works. The one inside <a href="ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/bootstrap/" target="_blank">ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/bootstrap/</a> does not work for me (probably old binutils issue). Let me know if you'd like my bootstrap binary.</blockquote>
<div><br>I think it works with old binutils because the Ubuntu version is not very new either.<br>Or, is this related to the missing assembler issue somehow?<br><br>Juha<br><br></div></div>