<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi,<BR>
Thanks alot for the info again,<BR>
yes, please upload the bins to somewhere and il try it<BR>
<BR>
Thanks again<BR>
Phil.<BR> <BR>
<DIV>
> Date: Wed, 28 Sep 2011 16:33:00 +0100<BR>> From: henry.vermaak@gmail.com<BR>> To: lazarus@lists.lazarus.freepascal.org<BR>> Subject: Re: [Lazarus] ARM, Cortex-A8 in Genesi Efika MX cloud computer<BR>> <BR>> On 28/09/11 16:15, Philip Cockram wrote:<BR>> > Hi,<BR>> ><BR>> > Thanks for the heads up,<BR>> ><BR>> > Dom and I have it compiling correctly from an i386 Ubuntu VM, and<BR>> > running on the ARM Linux box, (that compiler option works fine -meabi=5)<BR>> ><BR>> > However I still would prefer to get it compiling on my windows box, I<BR>> > have tried and failed several times to rebuild the binutils following<BR>> > the guide at http://wiki.freepascal.org/Setup_Cross_Compile_For_ARM<BR>> ><BR>> > as its all for linux, alot of the commands don’t work, such as<BR>> > "./configure --target=arm-linux --disable-werror".<BR>> <BR>> You have to do a Canadian Cross. This is where the build, host and <BR>> target platforms all differ. On Debian, I install the mingw32 package, <BR>> which gives me the linux->mingw32 cross binutils/compilers. They are <BR>> called i586-mingw32msvc-*, so my binutils configure command is:<BR>> <BR>> ./configure --prefix=/opt/arm-linux-eabi-win32 --target=arm-linux-eabi <BR>> --host=i586-mingw32msvc --disable-werror<BR>> <BR>> You may have to adapt this if your cross tools have a different prefix.<BR>> <BR>> Then a simple `make && make install` gets me binutils that I can copy to <BR>> my Windows machine.<BR>> <BR>> > Nor can i find anywhere thats got some precompiled binutils in this state.<BR>> <BR>> I can upload the binutils I've built somewhere for you to try out, if <BR>> you like.<BR>> <BR>> Henry<BR>> <BR>> --<BR>> _______________________________________________<BR>> Lazarus mailing list<BR>> Lazarus@lists.lazarus.freepascal.org<BR>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus<BR></DIV> </div></body>
</html>