[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the status of cross pkg-configs?



On Mon, Aug 26, 2019 at 1:06 PM Simon McVittie <smcv@debian.org> wrote:

> They are meant to be created by a dpkg trigger (as symlinks to
> /usr/share/pkg-config-crosswrapper) when you add the armhf architecture:
>
> You usually need to add the foreign architecture to dpkg for
> cross-compilation anyway, to get packages like libc6-dev:armhf.

Meson has tests that do cross compilation to armhf. What is the
correct way to set that up in official package builds? Calling
add-architecture directly? The doc pages[1] talk about building cross
packages, but Meson does not do that, it builds a native package but
it also requires a cross toolchain (on every platform except armhf).
Is this even possible?

[1] https://wiki.debian.org/CrossCompiling


Reply to: