Cross compilation

Andrew Haley aph at redhat.com
Tue Jul 11 09:16:35 UTC 2017


On 10/07/17 11:25, Manuel Alonso Tajuelo wrote:
> cannot find any doc explaining how to cross compile openjdk. Is out there
> any guidelines on how to perform that? I'm trying to cross compile from
> x86_64 to an Arm7le.

It's usually pretty easy.  You'll need a toolchain for your target in
your path, a complete image of your target system (i.e. the libraries,
header files, and so on) which you use as the sysroot when
configuring, and then you just run make as usual.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the build-dev mailing list