Re: pkg-config

Sven Luther <[email protected]> Tue, 29 Apr 2003 13:19:26 +0200
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <20030429111926.GA30641@iliana>
On Tue, Apr 29, 2003 at 10:03:29AM +0100, [email protected] wrote:
> > > You extract the libs all to a common directory.  pkg-config 
> > would be under
> > > that common directory in bin.
> > 
> > Mmm, does this mean that you cannot reuse the installed pkg-config of
> > your linux distribution ? I suppose you can configure 
> > pkg-config to look
> > at an alternate directory for the .pc files, and it would provide the
> > right result, provided a few patches or something such.
> 
> Are you suggesting using your pkg-config binary from Linux on Windows? That
> will not work.

No, i am trying to use the linux pkg-config on linux to cross-compile
windows binaries on linux. pkg-config is just a program that parse some
.pc files and prints the resulting include/library options, nothing
really all that complicated. if the prefix of the .pc files pointed to
something reasonable under linux, it should even not need to be patched,
but maybe i am wrong.

Friendly,

Sven Luther