From atp at piskorski.com  Fri Aug 28 17:18:53 2009
From: atp at piskorski.com (Andrew Piskorski)
Date: Fri, 28 Aug 2009 11:18:53 -0400
Subject: [Rd] ARM v7/Linux Port/cross-compile?
In-Reply-To: <A5DA4C50-9D36-4C77-8D40-AEE632FBD939@r-project.org>
References: <A5DA4C50-9D36-4C77-8D40-AEE632FBD939@r-project.org>
Message-ID: <20090828151853.GB32127@piskorski.com>

On Thu, Aug 27, 2009 at 06:36:38PM -0400, Simon Urbanek wrote:

> 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).  

Simon, could you provide any links to more detailed info on how you
did that, please?  E.g., how did you detect whether a package contains
binaries (native code) or not?  What exactly is a multi-arch R and how
did you build it?

I often need to build R packages for both x86 32 and 64 bit.
Currently, I build both R and all the packages twice in two entirely
separate directory trees, which is both annoying, and overkill for all
the R-code-only packages.  It sounds like you know a better way...

-- 
Andrew Piskorski <atp at piskorski.com>
http://www.piskorski.com/



[Rd] ARM v7/Linux Port/cross-compile?
Andrew Piskorski