users-prolog
[Top][All Lists]
Advanced

[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.pl examp_c.o 

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

gplc -L -lSDL -L -lpthread  examp.pl 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: 
http://old.nabble.com/gplc---suggestion-for-small-improvement-%28pkg-config-support%29-tp34058726p34058726.html
Sent from the Gnu - Prolog - Users mailing list archive at Nabble.com.




reply via email to

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