On 4 September 2018 at 11:53, Thomas Huth <th...@redhat.com> wrote: > But still, I think at least the PKG_CONFIG_LIBDIR part could be useful, > since the same problem e.g. also occurs when trying do a 32-bit build on > a 64-bit host, i.e. when running configure with "--extra-cflags=-m32". > Or is there also another configure switch that can help to get > PKG_CONFIG_LIBDIR right here?
Personally I think the neatest way to handle 32-bit-build-on-64-bit-host is to treat it like any other non-native build, ie have the distro ship compiler, pkg-config, etc so that --cross-prefix=i686-linux-gnu- works :-) thanks -- PMM