1.1 --- a/getting_started.dox Wed Nov 05 17:10:54 2008 +0000
1.2 +++ b/getting_started.dox Thu Nov 06 16:55:09 2008 +0100
1.3 @@ -52,12 +52,11 @@
1.4 \endverbatim
1.5
1.6 If LEMON is installed <b>user-local</b> into a directory
1.7 -(e.g. <tt>~/lemon</tt>) or if you just skipped the step
1.8 -<tt>make install</tt>, then compiling the code is a bit more difficult.
1.9 +(e.g. <tt>~/lemon</tt>), then compiling the code is a bit more difficult.
1.10 You have to issue a command like this.
1.11
1.12 \verbatim
1.13 -g++ -lemon -I ~/lemon -L ~/lemon/lemon/.libs hello_lemon.cc -o hello_lemon
1.14 +g++ -lemon -I ~/lemon/include -L ~/lemon/lib hello_lemon.cc -o hello_lemon
1.15 \endverbatim
1.16
1.17 If everything has gone well, then our program prints out the followings.
2.1 --- a/install.dox Wed Nov 05 17:10:54 2008 +0000
2.2 +++ b/install.dox Thu Nov 06 16:55:09 2008 +0100
2.3 @@ -215,13 +215,10 @@
2.4 [SEC]compile_user_local[SEC] If LEMON is Installed User-Local
2.5
2.6 You have to give more options to the compiler if LEMON is installed
2.7 -user-local into a directory (denoted by <tt><dir></tt>)
2.8 -or if you just skipped the step <tt>make install</tt>.
2.9 -In the later case <tt><dir></tt> denotes the directory in which the
2.10 -the \c make command have been performed.
2.11 +user-local into a directory (denoted by <tt><dir></tt>).
2.12
2.13 \verbatim
2.14 -g++ -lemon -I <dir> -L <dir>/lemon/.libs [other options] <source file>
2.15 +g++ -lemon -I <dir>/include -L <dir>/lib [other options] <source file>
2.16 \endverbatim
2.17
2.18 [SEC]compile_use_pkg_config[SEC] Use pkg-config