summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tutorial.mdwn4
1 files changed, 4 insertions, 0 deletions
diff --git a/tutorial.mdwn b/tutorial.mdwn
index df68609..6e56706 100644
--- a/tutorial.mdwn
+++ b/tutorial.mdwn
@@ -294,6 +294,10 @@ Compiling XCB-based programs requires linking them with the XCB library. This is
gcc -Wall prog.c -o prog `pkg-config --cflags --libs xcb`
+or simply :
+
+ gcc -Wall prog.c -lxcb
+
# Opening and closing the connection to an X server
An X program first needs to open the connection to the X server, using `xcb_connect()`: