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 Date: Thu, 8 Apr 2004 22:07:19 +0200 (MEST) From: Johan Holmberg To: Cygwin List Subject: Re: Gcc/ld and long command lines (> 32k) In-Reply-To: <6.0.1.1.0.20040408115748.039fb948@127.0.0.1> Message-ID: References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040408115748 DOT 039fb948 AT 127 DOT 0 DOT 0 DOT 1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Christopher Faylor wrote: > On Thu, Apr 08, 2004 at 11:11:58AM -0700, Peter A. Castro wrote: >... > >The original post doesn't specify weither they are working inside > >of or outside of a Cygwin environment, but from some of the > >comments I kinda think it maybe outside of. Something like: > > For some reason, I assumed they were running from make, where the > '@' wouldn't be exercised. But you are right, that isn't clear. A short description of my enironment: - the programs I'm building are C/C++ compilers - I use GCC in Cygwin to get a "second opinion" from another compiler than the one we use normally (Visual C++). - I use Cons as my build tool (a Perl program). I use ActiveState Perl (not Cygwin Perl). So yes, I'm working "outside a Cygwin environment". > [...] Larry's pointer to another one of my messages should also > work around the problem by making cygwin use internal methods for > passing arguments. > I followed that link, and have tried to understand what "mount -X" does. The option is mentioned in the "Cygwin User's Guide", but I couldn't find all details about what the effect is. Does it mean that Cygwin-binaries under such a mount-point pass argc/argv to other Cygwin-binaries under the same mount-point via the "internal method" allowing longer command lines than 32k ? (can I find a description of this method somewhere ?) Should I re-mount the bin-directory where "gcc.exe" is located with the -X option ? Several replies mentioned the possibility of making several intermediate libraries. I'm well aware of that possibility. But since I'm not interested in the "library functionality" of libraries, any such partitioning seems artificial. I always want a *full linking* where all object files are needed. I guess I'll resort to that, but only if no other way (like "mount -X") works for me. /Johan Holmberg -- 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/