delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/27/12:10:03

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: Sat, 27 Sep 2003 12:09:41 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Strange make [Error 255] (cygwin bug?)
Message-ID: <20030927160941.GE19912@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030925134745 DOT GC14708 AT redhat DOT com> <003601c3837c$1a217710$8006fea9 AT bertigep> <20030926084824 DOT GE22787 AT cygbert DOT vinschen DOT de> <20030926152705 DOT GC12094 AT redhat DOT com> <20030926175750 DOT GR22787 AT cygbert DOT vinschen DOT de> <87n0cql48x DOT fsf AT peder DOT flower>
Mime-Version: 1.0
In-Reply-To: <87n0cql48x.fsf@peder.flower>
User-Agent: Mutt/1.4.1i

On Sat, Sep 27, 2003 at 04:01:34PM +0200, Jan Nieuwenhuizen wrote:
>Corinna Vinschen writes:
>>>How does it make it unnecessary?  Won't it still cause make to return
>>>an error as opposed to actually getting make working?
>>
>>Yes, but it returns a correct, useful error message.  Obviously there
>>is a system imposed upper limit of command line length on all systems,
>>even if it's 256MB or whatever.  So relying on these overlong command
>>lines is highly non-portable anyway and at least Cygwin now returns the
>>correct message if it comes to that.
>
>Hmm, maybe you're right and we should fix the installation process, but
>this is the first problem we heard of.  If it's really that highly
>non-portable, then Cygwin is the least obscure UNIX system that doesn't
>grok this :-)

There have certainly been other "UNIXes" out there which had small
command line length limits.  Early AT&T System V releases come to mind.
Probably 32K is not a common limit anymore, though.

One of the reasons I went to the considerable work of implementing the
-X option was to bypass arbitrary limits like this and to bypass the
command line parsing that Windows enforces.  Binaries mounted with -X
pass arguments around in an argv list, just like UNIX.  So, while the
limits still exist, they should be much larger than what Windows uses.

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