delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/06/17:50:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <427BE5FE.7020000@fabeljet.com>
Date: Fri, 06 May 2005 23:47:42 +0200
From: =?ISO-8859-1?Q?J=F8rgen_Havsberg_Seland?= <jorgen AT fabeljet DOT com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Solution, possible FAQ entry: make problem: execvp: /bin/sh: Illegal Argument

[This posting is to provide future searchers with a direct hit.]

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

mount -f -X c:/cygwin/bin /bin

to enable "cygexec" for all executables in that folder. This will cause 
cygwin to "talk directly" to another cygwin executable, and the limit 
disappears (or at least moves).

(You can also disable it for individual files with the -x option. See 
the mount man page for more information.)

(This took me way too long to find, as I had no idea what to look for. 
Thanks to Christopher Faylor for mentioning the solution in a posting 
with *almost* the right topic.)

Additional keywords:
  gcc-4.0.0  *make*: *execvp*: /bin/sh: Argument list too long error 255

OBTW: Is there an official or semi-official cygwin Wiki where one may 
post these things?

-- 
jørgen h. seland
jorgen-at-fabeljet-dot-com



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019