Skip to content
Snippets Groups Projects
Commit 5acdbc1c authored by Bertrand Bellenot's avatar Bertrand Bellenot
Browse files

Fix g++ parameters order. gcc 4.6+ requires the libraries to be placed...

Fix g++ parameters order. gcc 4.6+ requires the libraries to be placed (correctly) at the end after the object files are listed.
(reported on the forum: http://root.cern.ch/phpBB3/viewtopic.php?t=14289)


git-svn-id: http://root.cern.ch/svn/root/trunk@43244 27541ba8-7e3a-0410-8455-c3a389f83636
parent 8337aeac
Branches
Tags
No related merge requests found
...@@ -232,7 +232,7 @@ fMain->MapWindow(); ...@@ -232,7 +232,7 @@ fMain->MapWindow();
<code>We compile the example:</code></para> <code>We compile the example:</code></para>
<programlisting language="c++">rootcint -f ex2aDict.cxx -c example2a.h ex2aLinkDef.h <programlisting language="c++">rootcint -f ex2aDict.cxx -c example2a.h ex2aLinkDef.h
g++ `root-config --cflags --glibs` -o example2a example2a.cxx ex2aDict.cxx g++ -o example2a example2a.cxx ex2aDict.cxx `root-config --cflags --glibs`
</programlisting> </programlisting>
<para> <para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment