projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37b4006
)
clarify
author
Christian Grothoff
<christian@grothoff.org>
Mon, 13 Mar 2017 13:02:21 +0000
(14:02 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 13 Mar 2017 13:02:21 +0000
(14:02 +0100)
doc/gnunet-c-tutorial.tex
patch
|
blob
|
history
diff --git
a/doc/gnunet-c-tutorial.tex
b/doc/gnunet-c-tutorial.tex
index 799e207866d5f5ac3d7cf437b135870fa0a227cf..0f82a2e4b7924d6abad1061b48f1db038c500d1c 100644
(file)
--- 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:
$ export CPPFLAGS="-I/path/to/gnunet/headers"
$ export LDFLAGS="-L/path/to/gnunet/libraries"
$ gcc $CPPFLAGS $LDFLAGS -o testbed-test testbed_test.c -lgnunettestbed -lgnunetdht -lgnunetutil
+$ touch template.conf # Generate (empty) configuration
+$ ./testbed-test # run it (press CTRL-C to stop)
\end{lstlisting}
The \texttt{CPPFLAGS} and \texttt{LDFLAGS} are necessary if GNUnet is installed
into a different directory other than \texttt{/usr/local}.