Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: native
-
Labels:None
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
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.
Please provide a 'svn diff' format. Thank you for looking into this issue