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

dmaugis <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.