[Lemon-commits] Balazs Dezso: Fix compilation order (#273)

Lemon HG hg at lemon.cs.elte.hu
Mon Apr 27 22:53:32 CEST 2009


details:   http://lemon.cs.elte.hu/hg/lemon-tutorial/rev/3e28dbeed635
changeset: 23:3e28dbeed635
user:      Balazs Dezso <deba [at] inf.elte.hu>
date:      Mon Apr 27 20:46:09 2009 +0200
description:
	Fix compilation order (#273)

diffstat:

 getting_started.dox |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/getting_started.dox b/getting_started.dox
--- a/getting_started.dox
+++ b/getting_started.dox
@@ -42,7 +42,7 @@
 that we are using the installed LEMON).
 
 \verbatim
-g++ -lemon -o hello_lemon hello_lemon.cc
+g++ -o hello_lemon hello_lemon.cc -lemon
 \endverbatim
 
 As a result you will get the exacutable \c hello_lemon in the current
@@ -57,7 +57,7 @@
 You have to issue a command like this.
 
 \verbatim
-g++ -lemon -I ~/lemon/include -L ~/lemon/lib -o hello_lemon hello_lemon.cc
+g++ -o hello_lemon -I ~/lemon/include hello_lemon.cc -L ~/lemon/lib -lemon
 \endverbatim
 
 If everything has gone well, then our program prints out the followings.



More information about the Lemon-commits mailing list