Subject: How to build x11 programs with gcc and pkg-config using xorg libs?
To: None <tech-x11@NetBSD.org>
From: Adrian Christiansen <adrian.christiansen@gmail.com>
List: tech-x11
Date: 09/12/2005 19:58:25
Hello

I tryed to build some x11 applications with gcc using pkg-config with
-lX11 and gcc
with just just -l/usr/pkg/xorg/lib. But I didn't get anyone of them to
build. I searched the
net around but didn't find anything.
Can I reconfigure pkg-config to use the xorg libs when telling it to
use -lX11 (and all
the other xlibs and xincludes)?

I'm trying to follow the following tutorials:
http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-progra=
mming.html
http://xander.ncl.ac.uk/game/

Take care! :)