Cross compilation
Andrew Haley
aph at redhat.com
Tue Jul 11 09:34:39 UTC 2017
On 11/07/17 10:32, Xen wrote:
> Andrew Haley schreef op 11-07-2017 11:16:
>> 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.
>
> You will need all X libraries as well though.
Well, yes: they are in the complete image of your target system.
> I personally couldn't manage without using OpenEmbedded.
I found it a complete pain. Each to their own, I guess.
--
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