# HG changeset patch
# User Balazs Dezso <deba@inf.elte.hu>
# Date 1240857969 -7200
# Node ID 3e28dbeed635902616afbefcb4179df55b36ec1b
# Parent 96d9cc65c8db41629baee5dbbddfe5971ec26b12
Fix compilation order (#273)
diff -r 96d9cc65c8db -r 3e28dbeed635 getting_started.dox
a
|
b
|
|
42 | 42 | that we are using the installed LEMON). |
43 | 43 | |
44 | 44 | \verbatim |
45 | | g++ -lemon -o hello_lemon hello_lemon.cc |
| 45 | g++ -o hello_lemon hello_lemon.cc -lemon |
46 | 46 | \endverbatim |
47 | 47 | |
48 | 48 | As a result you will get the exacutable \c hello_lemon in the current |
… |
… |
|
57 | 57 | You have to issue a command like this. |
58 | 58 | |
59 | 59 | \verbatim |
60 | | g++ -lemon -I ~/lemon/include -L ~/lemon/lib -o hello_lemon hello_lemon.cc |
| 60 | g++ -o hello_lemon -I ~/lemon/include hello_lemon.cc -L ~/lemon/lib -lemon |
61 | 61 | \endverbatim |
62 | 62 | |
63 | 63 | If everything has gone well, then our program prints out the followings. |