From simon.urbanek at r-project.org  Fri Aug 28 00:36:38 2009
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Thu, 27 Aug 2009 18:36:38 -0400
Subject: [Rd] ARM v7/Linux Port/cross-compile?
In-Reply-To: <21294625.121251409071927.JavaMail.SMLJWILNER1$@SMLJWILNER1>
References: <21294625.121251409071927.JavaMail.SMLJWILNER1$@SMLJWILNER1>
Message-ID: <A5DA4C50-9D36-4C77-8D40-AEE632FBD939@r-project.org>


On Aug 27, 2009, at 5:37 PM, Jonathan Wilner wrote:

> Hi,
>
> Has anyone succeeded in cross-compiling R to Linux on an ARM CPU?

Yes (although that questions leaves a lot of room for interpretation).


> If so, can you share a little about your toolchain & build process?
>

It was fairly straight-forward to build R (like any other cross- 
compilation). The tricky part is to install packages (if you are truly  
cross-compiling on another architecture) which I solved by using multi- 
arch R (which contains both arm and the host architecture) and cross- 
compiling only the binaries (i.e. only packages with native code).  
That could probably be simplified, but I didn't have the time to do  
that.

Cheers,
Simon



[Rd] ARM v7/Linux Port/cross-compile?
Simon Urbanek