aboutsummaryrefslogtreecommitdiff
path: root/doc/gnunet-c-tutorial.tex
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-13 14:02:21 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-13 14:02:21 +0100
commit733e5b7845d713a54e352909ac1fb30abf2550c4 (patch)
treec845783e68fb4ed7ea7a08c7c7eb0c0e0f7f27c7 /doc/gnunet-c-tutorial.tex
parent37b4006a8e89a6ad6b2f900aa98c7afacad6af26 (diff)
downloadgnunet-733e5b7845d713a54e352909ac1fb30abf2550c4.tar.gz
gnunet-733e5b7845d713a54e352909ac1fb30abf2550c4.zip
clarify
Diffstat (limited to 'doc/gnunet-c-tutorial.tex')
-rw-r--r--doc/gnunet-c-tutorial.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex
index 799e20786..0f82a2e4b 100644
--- a/doc/gnunet-c-tutorial.tex
+++ b/doc/gnunet-c-tutorial.tex
@@ -502,6 +502,8 @@ After installing GNUnet, the above source code can be compiled as:
502$ export CPPFLAGS="-I/path/to/gnunet/headers" 502$ export CPPFLAGS="-I/path/to/gnunet/headers"
503$ export LDFLAGS="-L/path/to/gnunet/libraries" 503$ export LDFLAGS="-L/path/to/gnunet/libraries"
504$ gcc $CPPFLAGS $LDFLAGS -o testbed-test testbed_test.c -lgnunettestbed -lgnunetdht -lgnunetutil 504$ gcc $CPPFLAGS $LDFLAGS -o testbed-test testbed_test.c -lgnunettestbed -lgnunetdht -lgnunetutil
505$ touch template.conf # Generate (empty) configuration
506$ ./testbed-test # run it (press CTRL-C to stop)
505\end{lstlisting} 507\end{lstlisting}
506The \texttt{CPPFLAGS} and \texttt{LDFLAGS} are necessary if GNUnet is installed 508The \texttt{CPPFLAGS} and \texttt{LDFLAGS} are necessary if GNUnet is installed
507into a different directory other than \texttt{/usr/local}. 509into a different directory other than \texttt{/usr/local}.