delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/03/28/10:22:20

From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp-workers AT delorie DOT com
Subject: pkg-config for DJGPP
Date: Fri, 28 Mar 2003 17:23:06 +0200
User-Agent: KMail/1.5.1
Cc: dj AT delorie DOT com
MIME-Version: 1.0
Message-Id: <200303281723.06384.pavenis@latnet.lv>
Reply-To: djgpp-workers AT delorie DOT com

Sorry. Accidentally pressed send button too early...

One rather usefull package that can easily be built for DJGPP is
pkg-config. It's mostly used for building GNOME packages, but I think
it's usefull also standalone. 

So I could upload some preliminary  version of DJGPP port. It is working for 
me, so I'm not too interested to do much additional porting work now (like 
getting it build with LFN support). LFN support is not needed for using it, 
only for building.

Sample output of pkg-config on machine where I built it:
D:\TMP>pkg-config --list-all sigc++-1.2
gmodule-2.0 GModule - Dynamic module loader for GLib
glib-2.0    GLib - C Utility Library
gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
gthread-2.0 GThread - Thread support for GLib
sigc++-1.2  SigC++ - Type-safe signal and callback system for C++

D:\TMP>pkg-config --cflags sigc++-1.2
-I/dev/env/DJDIR/lib/sigc++-1.2/include -I/dev/env/DJDIR/include/sigc++-1.2

D:\TMP>pkg-config --libs sigc++-1.2
-L/dev/env/DJDIR/lib -lsigc-1.2

I could upload pkg-config archives perhaps for v2gnu/betas

As one can see one of packages I also have for DJGPP is libsigc++-1.2.3.
It builds (with LFN support only) without any changes, but similary I don't 
know how to make it easily compatible with non LFN system without breaking 
too much.

I have interest to use libsigc++ in my applications which also can be built 
with DJGPP (I'm mostly using Linux now) and part of them with DJGPP only.

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019