[MinGW-dvlpr] Re: Cygwin / MSYS Command-Line-Length Issues? (was Re: GC Problems...)

Earnie Boyd earnie@users.sourceforge.net
Tue Sep 21 23:37:00 GMT 2004


You can change max_cmd_len in work around fashion in the generated 
libtool script.  Be sure to change all occurrences in the script, there 
are three or four.

Earnie

Aaron W. LaFramboise wrote:

>Aaron W. LaFramboise wrote:
>  
>
>>Simon Levitt wrote:
>>
>>    
>>
>>>I've put it down to something probably stupidly low (2048) which forced 
>>>libtool into incremental linking.
>>>      
>>>
>>Can you tell me exactly how you did this?  I've tried modifying both all
>>instances of max_cmd_len in libjava/dlltool, and modifying ltconfig
>>directly, all before configuring and building, and it does not seem to
>>stop make from attempting to pass that huge command line.
>>    
>>
>
>I looked at this in more detail.  The problem happens before libtool is
>even invoked, which is why max_cmd_len doesn't appear to make a difference.
>
>make is trying to invoke libtool with all of the dependencies.  If that
>invokation were successful, which it isn't, libtool would then do the
>correct partial link.  But it doesn't get that far.  I think something
>needs to tell automake about max_cmd_len also so that it does not cause
>make to exceed the maximum length.  I'm not entirely sure how this would
>work though, because it seems like it might mean requiring automake to
>know about partial links also.
>
>Aaron W. LaFramboise
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
>Project Admins to receive an Apple iPod Mini FREE for your judgement on
>who ports your project to Linux PPC the best. Sponsored by IBM.
>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
>_______________________________________________
>MinGW-dvlpr mailing list
>MinGW-dvlpr@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
>
>
>
>  
>

-- 
http://www.mingw.org
http://sourceforge.net/projects/mingw
https://sourceforge.net/donate/index.php?user_id=15438



More information about the Java mailing list