Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 9 Apr 2004 11:57:00 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Gcc/ld and long command lines (> 32k)
Message-ID: <20040409155700.GA7609@coe>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <F76C9B2DA2FC4C4CA0A18E288BBCBCF7082177B1@nihexchange24.nih.gov> <6.0.1.1.0.20040409111530.03a37658@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6.0.1.1.0.20040409111530.03a37658@127.0.0.1>
User-Agent: Mutt/1.4.1i

On Fri, Apr 09, 2004 at 11:28:54AM -0400, Larry Hall wrote:
>Right.  I think that goes along with the notion that the '@' stuff is 
>enabled for Cygwin processes invoked from non-Cygwin ones.  But perhaps
>I was unclear about what I was looking for.  Peter's response seemed to 
>indicate that he tried *both* the suggested mount option and the '@file'
>option simultaneously.  It also wasn't clear whether he was using the 
>'@file' option as invoked by a Windows process (perhaps even as a variant
>of Barry's example below) or whether he tried it from a Cygwin process 
>(directly).  Ditto for the mount option.  I think Peter was trying to 
>indicate that these options work but it's a little confusing given that
>Chris's previous statements say that '@file' should be a solution for 
>Windows processes and the mount option should be a solution for Cygwin
>processes.  It's unclear whether Peter is confirming or refuting any 
>part or parts of Chris' statement.  That's what I was hoping to get some 
>clarification on.

I think both Peter and the OP thought this through more than I had --
once you use '@' with the gcc command line, there is still further
argument passing going on between gcc and its (cygwin) subprocesses.

So, to bypass the 32K limit, you do need to use '@' for the initial
command line to gcc and any program that gcc calls needs to be mounted
with -X.

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/

