X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=AVg0ECHrK+swJvF6FRiHBekM6op4Vq4LBPbVrkYeVLm
	bJ4S454ycZPDo8VwNOlcz2XRmlKuWUvHDZGepRixRoISQV31EGArTH0FJxsCCpGA
	HZWTThCrMYIrHbQo3Y49vMYyDkUKyf1BpMMFr3fu7cFugKMyKym3afZhqT+jKZLM
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=O1IBEFlDDOFOFnFmk00PuQuirOk=; b=Rt+I6CsbIgUQkZWwv
	Z/6bjz5pouHeQb0A+C8syqtqgAU3VZpbHw6RNlTbPfWyZSaTfnoDGrWRceIoiRJz
	CP8bbJua2K5MBfyCDKrAyuV5pK2p44X0VPZjEUAxL2F7JAD9QTNJgFmSKdHCGJVb
	T6UdwiaGm0BDw3NwhbNFQXhr8E=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,SPF_PASS autolearn=no version=3.3.2
X-HELO: out.ipsmtp3nec.opaltelecom.net
X-SMTPAUTH: drstacey@tiscali.co.uk
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjkDAMCjhVNPRtOf/2dsb2JhbAANTIccvCeDCwMCAYEhgxkBAQEEIxU2ChELGAICBRYEBwICCQMCAQIBNwENEwgBAbhmd6RQF4EqjS8Wgl+BSwSEX6o1gUE
X-IPAS-Result: AjkDAMCjhVNPRtOf/2dsb2JhbAANTIccvCeDCwMCAYEhgxkBAQEEIxU2ChELGAICBRYEBwICCQMCAQIBNwENEwgBAbhmd6RQF4EqjS8Wgl+BSwSEX6o1gUE
Message-ID: <5385A486.4090900@tiscali.co.uk>
Date: Wed, 28 May 2014 09:55:34 +0100
From: David Stacey <drstacey@tiscali.co.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384
References: <CANMjiJqz6uJ7pp=iS5FK_ZnS9nxCT1fY+EndcgzPan7sv2pXJA@mail.gmail.com> <20140526200857.GA3903@ednor.casa.cgf.cx> <lm08n5$tgp$1@ger.gmane.org> <20140526212219.GA4754@ednor.casa.cgf.cx> <CANMjiJpDU-aVxg1X8G_Lk8pKLEmXbs24+ieD=w3f8ZmQ2jdjTw@mail.gmail.com> <CANMjiJqkm1pD5zuKWc_aRw8h9mzfdpwSkk6u6ybLmgHKGEd0PQ@mail.gmail.com>
In-Reply-To: <CANMjiJqkm1pD5zuKWc_aRw8h9mzfdpwSkk6u6ybLmgHKGEd0PQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 27/05/14 14:19, Abhijit Bhattacharjee wrote:
> Yes, MSVS is Microsoft Visual Studio.
>
> and I am using the make for Windows

Using the Windows version of gmake to invoke Cygwin bash to call the 
Microsoft compiler seems a little complicated to me. Instead of gmake 
and bash, are you able to use 'nmake' (that comes with MSVC)?

Obviously, that is a non-Cygwin suggestion, and this is a Cygwin mailing 
list, so we wouldn't be able to help you with that here. However, by 
simplifying your call chain, the problems that you're experiencing might 
go away.

Dave.


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

