From: Richard Kreckel Date: Fri, 3 May 2019 19:14:20 +0000 (+0200) Subject: [DOC] Change library order in tutorial example. X-Git-Tag: release_1-7-7~12 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=393c7d5716ae5bb76ce2f518dfd52f27b1bc6414 [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. --- 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