Thanks Mr Sven! It works beautifully. bye shiraz --- Sven Neumann <sven@gimp.org> wrote: > Hi, > > Shiraz Baig <shiraz_baig@yahoo.com> writes: > > > I have installed on my computer, both, the > gtk+-1.2 > > and gtk+-2.0. I want to compile programs with > > gtk+-1.2. But I do not know how to do that? > > > > I can compile with gtk+-2.0 by using pkg-config > > --cflags --libs, but I do not know, how to compile > the > > programs writting under gtk+-1.2 > > > > I tried: > > gcc -o pgm pgm.c `pkg-config gtk+-1.2 --cflags > > --libs` > > Try the above with 'gtk+' instead of gtk+-1.2. > > > Sven __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com