On Montag, 2. Januar 2017, 08:51:04 CET wrote Roger Oberholtzer: > On Mon, Dec 26, 2016 at 11:46 PM, Robert Munteanu > <[email protected]> wrote: > > Hi, > > > > On Thu, Dec 22, 2016 at 11:40 AM, Roger Oberholtzer > > <[email protected]> wrote: > >> I am currently building software for a Raspberry using a Raspberry as > >> the build computer. It works surprisingly well. Nonetheless, I am > >> considering setting up doing cross compiling on an intel x86 (non ARM) > >> computer. I guess installing cross compilers and such tools from OBS > >> is okay. I already do this for doing Windows (32- and 64-bit) cross > >> compiling. > > > > Maybe the wrong question to ask, but have you considered qemu? > > The problem, I think, is that I want to have the local system files in > place (x86), as well as the ARM files. I think this may work for the > cross compiler itself. But everything else for ARM is installed in the > same place as the host files. I just wondered if someone had figured > out a way to get the two to coexist. I am guessing that building for > ARM is best done on an ARM device and not cross-compiled on a > different host.
You could do a chroot build against openSUSE:Factory:ARM/qemu repository using "osc build" ... you would get an arm chroot and use qemu-linux-user for emulation. But you would avoid the need to adapt all build systems for cross building ... -- Adrian Schroeter email: [email protected] SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
