16/06/2020 22:35, David Christensen:
Thomas Monjalon wrote:
This script supports only builds from x86 Linux so far.
This patch is adding cross-compilation of ppc from x86,
and it works fine.

Which distro and packages are used for testing?  I tried it with Ubuntu
20.04 but the cross-compiler is named differently
(powerpc64le-linux-gnu-gcc instead of powerpc64le-linux-gcc).

I'm using a buildroot toolchain from bootlin:
https://toolchains.bootlin.com/releases_powerpc64le-power8.html

If it is more common to have "gnu" in the prefix,
no problem to change it in this patch.
I can create "gnu" symbolic links in my toolchain.

Ideally I would like to have an option to specify the toolchain prefix
with meson, instead of hardcoding it in a cross file.

If there's no defined distro where this tool is expected to be used I'd be happy with a comment in the cross file indicating which set of cross-compilers you chose for the implementation.

Reviewed-by: David Christensen <d...@linux.vnet.ibm.com>

Reply via email to