[PATCH libgpg-error] syscfg: Add ppc64le cross build support
gniibe at fsij.org
Mon Mar 26 13:13:13 CEST 2018
Daniel Kahn Gillmor <dkg at fifthhorseman.net> wrote:
> i guess i'm asking why some 64-bit little-endian powerpc machines would
> get reported as powerpc64le and others would be ppc64le, if they're the
> same underlying hardware.
> perhaps someone with more of an understanding of the nuances of
> different platforms can weigh in here. i don't know enough to be able
> to make this call.
The triplet for "ppc64el" is powerpc64le-unknown-linux-gnu. We already
have supported it in libgpg-error.
For cross building, please specify correct triplet for the host. It
should be powerpc64le-unknown-linux-gnu when you build for ppc64le.
(Well, you should have cross compiler which supports
powerpc64le-unknown-linux-gnu beforehand, so, you should know the
Name of machine type (I mean the output of uname -m), CPU in the
triplet, architecture name for distribution may be different.
More information about the Gnupg-devel