From: Richard Kreckel Date: Mon, 7 Feb 2022 19:26:21 +0000 (+0100) Subject: [DOC] Fix g++ argument order in tutorial example. X-Git-Tag: release_1-8-3~5 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=37653ea61dd38d9d453d8931968730ca18b6534f;ds=sidebyside [DOC] Fix g++ argument order in tutorial example. --- diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index edb6be99..159d6a0b 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -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 -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 -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