Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.0.1.1.0.20040409142628.03a12c90@wheresmymailserver.com> X-Sender: Date: Fri, 09 Apr 2004 14:26:36 -0400 To: cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Gcc/ld and long command lines (> 32k) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:57 AM 4/9/2004, you wrote: >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. Ah, OK. Yeah that makes sense now. Thanks, -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/