From 37653ea61dd38d9d453d8931968730ca18b6534f Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 7 Feb 2022 20:26:21 +0100 Subject: [PATCH] [DOC] Fix g++ argument order in tutorial example. --- doc/tutorial/ginac.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.1