delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/09/11:57:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 9 Apr 2004 11:57:00 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Gcc/ld and long command lines (> 32k)
Message-ID: <20040409155700.GA7609@coe>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F76C9B2DA2FC4C4CA0A18E288BBCBCF7082177B1 AT nihexchange24 DOT nih DOT gov> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040409111530 DOT 03a37658 AT 127 DOT 0 DOT 0 DOT 1>
Mime-Version: 1.0
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/

- Raw text -


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