I want to build some programs with the armv7a-hardfloat-linux-gnueabi toolchain which I generated via crossdev. It fails because it is not able to find a library which i installed locally into my home folder. Solution: set PKG_CONFIG_PATH to contain that local folder. Now there is the problem the armv7a-hardfloat-linux-gnueabi-pkg-config does not find the libraries .pc file while stock pkg-config does. Additionally armv7a-hardfloat-linux-gnueabi-pkg-config fails with this message: realpath: ‘pkgconfig/..’: No such file or directory, perhaps you should add to PKG_CONFIG_PATH blahblah ... Is this supposed to happen?
crossdev (perhaps over-zealously) cleans them up in https://gitweb.gentoo.org/proj/crossdev.git/tree/wrappers/cross-pkg-config#n75 We should either allow PKG_CONFIG_PATH as is or have an equivalent variable.