On Wed, Dec 31, 2014 at 8:53 AM, Brian J. Rogers <[email protected]>
wrote:

> They look like some great little boxes. I have a question though, would
> these be good to use as build machines? Say if I want to use them to
> compile an package to RPM/DEB, would that work? I ask because I'm not sure
> how the architecture would come into play, e.g. can an ARM core compile a
> package for x86_64?
>

Put simply: no.  More elaborately, it can be done (the compiler is just
outputting bytes, at the end) but the results are typically less than you'd
like.  It's better to get a simple cross-compiler box and/or a CI server
integrated into it.  That said, some people do it anyway.  I myself compile
a lot of embedded and ARM code from my x86_64 machine, and I've done from
ARM to x86 (not 64 bit) once before.  At the time (several years ago) it
just took a lot of knowing what the heck your compiler chain was doing
under the hood.  Maybe it's more straightforward now, but it was still slow
as molasses.

-Tod Hansmann

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to