[ant-contrib - Help] RE: cc outfile not consistant

"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=4302565
By: sillydino

The pre/post fixes are based on your platform and compiler (I believe).  For
me, when I build a library on Mac I get:

Static
-Pre: lib
-Post: .a

Dynamic
-Pre: lib
-Post: .dylib

In windows I get:

Static
-Pre: none
-Post: .lib

Dynamic
-Pre: none
-Post: dll

As for executables in windows I get .exe and Mac .app.

This is correct given that the native compilers on both platforms put these
pre/post fixes on as well.  The CC task is just following suit.

For CC task to make the correct decisions make sure all your attributes are
set correct, mainly "outtype".

~Caleb

______________________________________________________________________
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.