cross-pkg-config support

Justin Chen <[email protected]>
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <CAJx26kVGvxiYfAYaE-2JFNOVVxf1_0Vf-6w-zsYHLkfTMAonnQ@mail.gmail.com>
Hello,

Looks like crosstool-ng doesn't support a cross-pkg-config wrapper
script. (Unless I am missing it).

Is this something that sounds reasonable to support?
I assume it'll look something like this.
https://github.com/raspberrypi/tools/blob/master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-pkg-config

I believe the last line...
exec "$0-real" "$@"
could be replaced with...
exec pkg-config "$@"
Then we will not need a pkg-config-real binary.

Thoughts on this?

Thanks,
Justin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.