aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-05-24 13:15:32 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-05-24 13:15:32 +0000
commitd71637007a11ed352bc82590fa6899faba3802d0 (patch)
tree8f82ff0664b6714c5184c3f3e33a13b12bdd3931
parent6c1e65fe29f0dbd66b38b6b0b489bd211fab9882 (diff)
downloadgnunet-d71637007a11ed352bc82590fa6899faba3802d0.tar.gz
gnunet-d71637007a11ed352bc82590fa6899faba3802d0.zip
- compile with CPPFLAGS and LDFLAGS; gcc doesn't take them automatically
-rw-r--r--doc/gnunet-c-tutorial.pdfbin389337 -> 253517 bytes
-rw-r--r--doc/gnunet-c-tutorial.tex2
2 files changed, 1 insertions, 1 deletions
diff --git a/doc/gnunet-c-tutorial.pdf b/doc/gnunet-c-tutorial.pdf
index 575451590..1b5af84c6 100644
--- a/doc/gnunet-c-tutorial.pdf
+++ b/doc/gnunet-c-tutorial.pdf
Binary files differ
diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex
index 27258ac8d..8ad4d3019 100644
--- a/doc/gnunet-c-tutorial.tex
+++ b/doc/gnunet-c-tutorial.tex
@@ -422,7 +422,7 @@ The source code for the above listing can be found at
422\begin{lstlisting} 422\begin{lstlisting}
423$ export CPPFLAGS="-I/path/to/gnunet/headers" 423$ export CPPFLAGS="-I/path/to/gnunet/headers"
424$ export LDFLAGS="-L/path/to/gnunet/libraries" 424$ export LDFLAGS="-L/path/to/gnunet/libraries"
425$ gcc -o testbed-test testbed_test.c -lgnunettestbed -lgnunetdht -lgnunetutil 425$ gcc $CPPFLAGS $LDFLAGS -o testbed-test testbed_test.c -lgnunettestbed -lgnunetdht -lgnunetutil
426\end{lstlisting} 426\end{lstlisting}
427The \texttt{CPPFLAGS} and \texttt{LDFLAGS} are necessary if GNUnet is installed 427The \texttt{CPPFLAGS} and \texttt{LDFLAGS} are necessary if GNUnet is installed
428into a different directory other than \texttt{/usr/local}. 428into a different directory other than \texttt{/usr/local}.