[cairo-commit] [cairo-www] src/FAQ.mdwn
Carl Worth
cworth at freedesktop.org
Wed Nov 14 09:44:28 PST 2007
src/FAQ.mdwn | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit d0d5ad3587fe7c2fe819f28170b9f7eaedc8ea39
Author: Carl Worth <cworth at cworth.org>
Date: Wed Nov 14 09:49:55 2007 -0800
Protect literal underscores
diff --git a/src/FAQ.mdwn b/src/FAQ.mdwn
index d49a4b2..9e428bd 100644
--- a/src/FAQ.mdwn
+++ b/src/FAQ.mdwn
@@ -57,9 +57,9 @@ Create a file called `hello.c` containing
<h2 id="compilation_flags">What compilation flags are required to compile that code?</h2>
You will need to instruct the compiler where to find the cairo.h file,
-(generally something like "-I /usr/include/cairo"), and tell the
+(generally something like `-I /usr/include/cairo`), and tell the
linker where to find the cairo library and to linke with it, (often
-something like "-L /usr/lib -lcairo").
+something like `-L /usr/lib -lcairo`).
But the exact flags and paths will depend on your compiler and your
installation of cairo. To simplify this, cairo uses pkg-config which
@@ -73,9 +73,9 @@ image file named `hw.png` with "Hello World" written in blue.
NOTE: If cairo is not installed to a system directory that pkg-config
is aware of, then you will need to tell pkg-config about the directory
-by setting the PKG_CONFIG_PATH environment variable to point to the
+by setting the `PKG_CONFIG_PATH` environment variable to point to the
directory into which cairo.pc is installed, (for example, with bash,
-"export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig").
+`export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig`).
<h1 id="drawing_questions">Drawing questions</h1>
More information about the cairo-commit
mailing list