1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
>I tried to compile a small Hello World of mine,
6
but it failed. Any clue? [GTK 2.x]</TITLE
9
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
12
HREF="book1.html"><LINK
14
TITLE="Development with GTK+: the begining"
15
HREF="c377.html"><LINK
17
TITLE="How do I write security sensitive/SUID/SGID programs with GTK+?
18
Is GTK+ secure? What's this GTK_MODULES security hole I heard about?
20
HREF="x392.html"><LINK
22
TITLE="What about using the make
24
HREF="x416.html"></HEAD
35
SUMMARY="Header navigation table"
54
><<< Previous</A
60
>Development with GTK+: the begining</TD
68
>Next >>></A
81
>I tried to compile a small <B
85
but it failed. Any clue? <I
91
>Since you are good at coding, we will not deal with
92
compile time errors here :)</P
94
>The classic command line to compile a GTK+ based program is</P
100
>gcc -o myprog [c files] `pkg-config gtk+-2.0 --cflags --libs`</TT
104
>You should notice the backquote character which is used
105
in this command line. A common mistake when you start a GTK+
106
based development is to use quotes instead of backquotes. If
107
you do so, the compiler will complain about an unknown file
110
>pkg-config gtk+-2.0 --cflags --libs</TT
112
text in backquotes is an instruction to your shell to
113
substitute the output of executing this command into the
116
>The command line above ensures that:</P
122
>the correct C compiler flags will be used
123
to compile the program (including the complete C header
128
>your program will be linked with the
138
SUMMARY="Footer navigation table"
151
><<< Previous</A
169
>Next >>></A
177
>How do I write security sensitive/SUID/SGID programs with GTK+?
178
Is GTK+ secure? What's this GTK_MODULES security hole I heard about?
196
>What about using the <B
b'\\ No newline at end of file'