Running gtk+-1.2



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`

But it does not work. It runs the pkg-config of
gtk+-2.0 and gives a whole lot of errors.

Could any one help please, how to compile gtk+-1.2
programs.
bye


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



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