HELP: Compiling GTK+ Applications on UNIX



Hello there,

What is the different between these 2 methods:

1. gcc -o myprog `gtk-config --cflags --libs` (GTK FAQ)

2. cc `pkg-config --cflags --libs gtk+-2.0` myprog.c -o mypgrog  (GTK+
Reference Manual)

Thank you :)

Lynn



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