Crosscompilation beyond qemu

Alexander Larsson alexl at redhat.com
Tue Apr 4 09:47:51 UTC 2017


On Tue, 2017-04-04 at 03:00 +0200, Aleix Pol wrote:
> Hello,
> We can't compile QtWebEngine (Chromium inside) in 32bit architectures
> because ld requires more memory than 32bits can address (!).

Have you tried building with -g1? That causes less debuginfo and less
memory use.

> One of the solutions is to allow cross-compilation (or rather
> cross-linking in this case).
> 
> Do you think it's an idea worth exploring?
> If so, where would you look at?

cross-compilation tend to be very painful and require a lot of hand-
holding, so its not an area i would walk into lightly.

You would have to start with building something like an cross-build
SDK. Probably an aarch64 runtime with compilers targeting arm, so that
you can also run the resulting binaries (as needed in many configure
scripts, etc). Then you need to figure out how to make each individual
component cross-build, which is going to require research for each one.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's an oversexed pirate paramedic who must take medication to keep him 
sane. She's a cynical streetsmart soap star who hides her beauty behind a 
pair of thick-framed spectacles. They fight crime! 



More information about the xdg-app mailing list