Re: HELP: Compiling GTK+ Applications on UNIX
- From: Paul Davis <pbd Op Net>
- To: "Lin, Lynn" <lynn lin boeing com>
- Cc: "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: Re: HELP: Compiling GTK+ Applications on UNIX
- Date: Mon, 28 Jan 2002 13:23:19 -0500
>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]