problem in gtk programming

Thomas Nikolajsen thomas.nikolajsen at mail.dk
Sun Oct 26 13:50:52 PDT 2008


>#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





More information about the Users mailing list