pkg-config with porting

John-Mark Bell jmb202 at ecs.soton.ac.uk
Fri Aug 5 14:28:40 PDT 2005


On Fri, 5 Aug 2005, Peter Naulls wrote:

> 
> 
> I've not needed this until now for some reason, I think perhaps because
> the path handling is hidden by something.  However, if you come across a
> program that uses pkg-config to locate libraries, etc, then what you
> need is a native build of pkg-config, but with the configured prefix
> sent to your riscos path - /home/riscos/env or whatever you've set.
> This'll allow the correct native pkg-config binary to be found duing
> configuration of cross programs.

Can you not just stick something like:

export PKG_CONFIG_PATH=/home/riscos/env/lib/pkgconfig/

at the end of the roconfig script?

That's always worked for me.


John.




More information about the gcc mailing list