[ant-contrib - Help] RE: order of linker command line arguments

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4266942
By: carnold

Would be helpful to see an excerpt from the build script.

If you are using explicit linkerarg elements, the documentation for the linkerarg
element (http://ant-contrib.sourceforge.net/linkerarg.html) describes the location
attribute in some detail.  It would seem that all you need to do is to
add location="end" to the linkerarg elements.

If you are using libset or syslibset elements, the code around line 148
in net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java places the generated
-l arguments in the endargs collection, which means that they should appear
after the file names.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=113701

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.