<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 08/15/2015 07:40 PM, Karoly Balogh
(Charlie/SGR) wrote:<br>
</div>
<blockquote
cite="mid:alpine.DEB.2.02.1508160432540.7280@scenergy.dfmk.hu"
type="cite">
<pre wrap="">Hi,
On Sat, 15 Aug 2015, Chris Moody wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Is there a better guide on how to do this than:
<a class="moz-txt-link-freetext" href="http://wiki.freepascal.org/fpcup#Linux_ARM_cross_compiler">http://wiki.freepascal.org/fpcup#Linux_ARM_cross_compiler</a> ? specifically
as far as this
sentence is concerned:
* Linux/Unix build or install the relevant crossbinutils (Linux, unix)
</pre>
</blockquote>
<pre wrap="">With Ubuntu/Debian:
- apt-get install binutils-arm-linux-gnueabihf
**snip**
</pre>
</blockquote>
<pre wrap="">
Thanks for that Charlie, I now have that installed. Do I have to do the
compile with fpc? or can I do it via Lazarus?
</pre>
</blockquote>
<pre wrap="">
I'm pretty sure it's possible with Lazarus, but I can't give exact
instructions, because I rarely use Lazarus, I prefer using the compiler
itself directly from the command line.
However, this page has some pointers:
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM#Make_your_first_arm-linux_project_in_Lazarus">http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM#Make_your_first_arm-linux_project_in_Lazarus</a>
Charlie
_______________________________________________
</pre>
</blockquote>
Looks like I need to recompile FPC (or make a special compile of it)
to be able to compile to ARM. <br>
<br>
That URL you gave me says how to compile it, but not sure about if I
need to have some special cross compile code for the
CROSSBINDIR=/home/user/lazarus/fpc/binutils/ portion of it, or do I
just point it to where Linux installed the items installed with
apt-get install binutils-arm-linux-gnueabihf ?<br>
<br>
Thanks once again!<br>
<br>
Chris<br>
<pre class="de1" style="padding: 0px; border: 0px none white; color: rgb(0, 0, 0); line-height: 1.2em; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10.3187494277954px; font-family: monospace; margin: 0px; vertical-align: top; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background: none rgb(249, 249, 249);"><span class="re2" style="color: rgb(0, 120, 0);">
</span><span class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;"></span></pre>
</body>
</html>