[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gplc - suggestion for small improvement (pkg-config support)

From: dmaugis
Subject: gplc - suggestion for small improvement (pkg-config support)
Date: Sat, 23 Jun 2012 05:18:00 -0700 (PDT)

gprolog gplc is really really nice but it's a little bit difficult to use it
with common C
development packages because the command line option makes it difficult to
use with pkg-config.
(pkg-config is a widespread utility which returns the flags necessary for
gcc to compile / use development libraries)

I would like to be able to use:

gplc `pkg-config --flags --libs SDL` examp_c.o 

instead of having to, manually list all the options necessary:

gplc -L -lSDL -L -lpthread examp_c.c 

(well this example has only 2 libs, but if we interface gprolog with ...say
gtk, could be a few 100..)

View this message in context:
Sent from the Gnu - Prolog - Users mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]