Solution, possible FAQ entry: make problem: execvp: /bin/sh: Illegal Argument

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Sun May 8 23:07:00 GMT 2005


On Sun, May 08, 2005 at 12:48:00PM -0700, Joshua Daniel Franklin wrote:
>> >On 5/6/05, J?rgen Havsberg Seland wrote:
>> >> This problem is (often) due to the command-line being to long for the
>> >> windows execution model. To circumvent this, mount the path of the
>> >> executable using the -X switch. For instance, use
>> >
>> On Sat, May 07, 2005 at 05:11:39PM -0700, Joshua Daniel Franklin wrote:
>> >I don't mind adding an FAQ, it looks like it's been asked few times. Any
>> >problem with replacing this ancient entry about MAKE_MODE (which is
>> >covered in the User's Guide)?
>> >
>> >http://cygwin.com/faq/faq_3.html#SEC93
>> 
>On 5/7/05, Christopher Faylor wrote:
>> Fine with me.
>
>Updated with the following text (thanks, J?rgen):
>
>
>Errors of `make: execvp: /bin/sh: Illegal Argument' or `make: execvp:
>/bin/sh: Argument list too long' are often caused by the command-line
>being to long for the Windows execution model. To circumvent this,

"too long"

It's not just the command line, it's also the environment being too
large.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list