Re: HELP: Compiling GTK+ Applications on UNIX



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

the first one is deprecated, involves lots of ugly m4 macros, can
require disgusting filesystem hacking to deal with aclocal's stupid
design, and is basically in poor taste.

the second one is elegant, smooth, and works better in every way.

ok ? :))

--p



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