DragonFly users List (threaded) for 2008-10
DragonFly BSD
DragonFly users List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: problem in gtk programming


From: Thomas Nikolajsen <thomas.nikolajsen@xxxxxxx>
Date: Sun, 26 Oct 2008 21:46:53 +0100

>#gcc '/usr/pkg/bin/pkg-config gtk+-2.0 --libs --cflags' prova.c -o prova
>gcc: /usr/pkg/bin/pkg-config gtk+-2.0 --libs --cflags: No such file or directory
>
>How can I include pkg-config in gcc command?

You need to use backquote character ``', that is `cmd args`,
see `command substitution' in sh(1) or tcsh(1), or whichever shell you use.

If you are using sh(1) (derivate), then $(cmd args) can also be used.

 -thomas



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