Re: pkg-config
Sven Luther <[email protected]> Tue, 29 Apr 2003 10:15:09 +0200
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <20030429081509.GA2425@iliana> |
On Tue, Apr 29, 2003 at 09:00:33AM +0100, [email protected] wrote: > > This is a patch you have to apply to the linux pkg-config, right ? > > > > How do you install the gtk+ libraries, you simply unzip them somewhere > > and have pkg-config point to that ? > > 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. > If you put this directory in your path i.e. <common dir>/bin and <common > dir>/lib you can use the libs and binaries anywhere. > > > > > BTW, would it be easier to cross compile the libraries than it is to > > build them under windows ? > > A colleague of mine did some cross compiling and it didnt take him very long > and it wasn't too difficult. Personally I wouldn't cross compile. Well, if you can cross compile the libraries, you can produce a cross compil debian package to go with the already existing mingw32 packages. If that did work, cross compiling gtk apps would be a breeze, and you wouldn't need to give yourself over to the dark side. This would be of interrest to the peoples who are mainly linux developper but want to have a windows version of their program available also. Friendly, Sven Luther