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

Re: I want to compile my project under Linux, but i have this error.



On Tue, 23 Apr 2002, Evan Martin wrote:

> On Tue, Apr 23, 2002 at 08:39:06AM +0000, Mario Enrique L?pez Guzm?n wrote:
> >  Ok... I write my code for gtk+-2.0 and the command that I use is:
> > 
> >    gcc -o plotter plotter.c 'pkg-config --cflags --libs gtk+2.0'
>
> You need to use backticks and not apostrophes.  They look very similar.

Bash at least understands also $() ie.

  gcc -o plotter plotter.c $(pkg-config --cflags --libs gtk+2.0)

Maybe a bit less chance of getting the syntax wrong with that one.

-- 
Tomi Manninen           Internet:  oh2bns@sral.fi
OH2BNS                  AX.25:     oh2bns@oh2rbi.fin.eu
KP20ME04                Amprnet:   oh2bns@oh2rbi.ampr.org




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