Link command too long on Windows
--------------------------------
Key: MOJO-1650
URL: http://jira.codehaus.org/browse/MOJO-1650
Project: Mojo
Issue Type: Improvement
Components: native
Reporter: Jean-Marie Dautelle
Priority: Blocker
Attachments: CLinker.java
When there are too many object files, the command line generated by the linker
is too long (> 8192) on Windows.
An easy fix is to use a linker response file (@objectFiles) instead of having
all objects as argument of the command line (replacing n argument with one).
Attached is org.codehaus.mojo.natives.c.CLinker modified to use a linker
response file on Windows if the number of objects to link is greater than 32.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email