]> www.ginac.de Git - ginac.git/commitdiff
[DOC] Fix g++ argument order in tutorial example.
authorRichard Kreckel <kreckel@ginac.de>
Mon, 7 Feb 2022 19:26:21 +0000 (20:26 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 7 Feb 2022 19:26:21 +0000 (20:26 +0100)
doc/tutorial/ginac.texi

index edb6be99da5b0aab5846b0e3f69d20e14e6292cf..159d6a0bd2f002c137ae6e0ba270275f7aa90dff 100644 (file)
@@ -8782,12 +8782,12 @@ program use @footnote{If GiNaC is installed into some non-standard
 directory @var{prefix} one should set the @var{PKG_CONFIG_PATH}
 environment variable to @var{prefix}/lib/pkgconfig for this to work.}
 @example
 directory @var{prefix} one should set the @var{PKG_CONFIG_PATH}
 environment variable to @var{prefix}/lib/pkgconfig for this to work.}
 @example
-g++ -o simple `pkg-config --cflags --libs ginac` simple.cpp
+g++ -o simple simple.cpp `pkg-config --cflags --libs ginac`
 @end example
 
 This command line might expand to (for example):
 @example
 @end example
 
 This command line might expand to (for example):
 @example
-g++ -o simple -lginac -lcln simple.cpp
+g++ -o simple simple.cpp -lginac -lcln
 @end example
 
 Not only is the form using @command{pkg-config} easier to type, it will
 @end example
 
 Not only is the form using @command{pkg-config} easier to type, it will