From 393c7d5716ae5bb76ce2f518dfd52f27b1bc6414 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Fri, 3 May 2019 21:14:20 +0200 Subject: [PATCH] [DOC] Change library order in tutorial example. Some systems care about library ordering: Dependent libraries must be linked last. Let's link with -lginac before -lcln in the example so it will work on any system, even on Windows. --- doc/tutorial/ginac.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index db78219d..331c2125 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -201,7 +201,7 @@ Assuming the file is called @file{hello.cc}, on our system we can compile and run it like this: @example -$ c++ hello.cc -o hello -lcln -lginac +$ c++ hello.cc -o hello -lginac -lcln $ ./hello 355687428096000*x*y+20922789888000*y^2+6402373705728000*x^2 @end example -- 2.44.0