X-Spam-Check-By: sourceware.org
Date: Wed, 16 Aug 2006 20:19:06 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: mwoehlke <mwoehlke@tibco.com>
cc: cygwin@cygwin.com
Subject: Re: change in behavior of make from 3.80 to 3.81
In-Reply-To: <ebvvri$mqd$2@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0608162016310.14156@access1.cims.nyu.edu>
References: <6.2.3.4.2.20060815151104.0b40e260@pop.nycap.rr.com>    <01b901c6c116$21259430$a501a8c0@CAM.ARTIMI.COM>    <6.2.3.4.2.20060816091525.0ab90af0@pop.nycap.rr.com>    <20060816144110.GX20467@calimero.vinschen.de>  <6.2.3.4.2.20060816111421.0b446b60@pop.nycap.rr.com>    <20060816155054.GY20467@calimero.vinschen.de>    <Pine.GSO.4.63.0608161418370.9095@access1.cims.nyu.edu>   <6.2.3.4.2.20060816144036.09695af0@pop.nycap.rr.com>  <Pine.GSO.4.63.0608161543520.14156@access1.cims.nyu.edu> <ebvvri$mqd$2@sea.gmane.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 16 Aug 2006, mwoehlke wrote:

> Igor Peshansky wrote:
> > Alternatively, you can try to implement a $(cygpath ...) function in make
> > and submit *that* to the upstream maintainers.  That way, the Cygwin make
> > will not have to invoke a separate process to convert the paths that it
> > (as a program linked to cygwin1.dll) already knows how to do.
>
> I'd like to point out that such a patch would be all of about five lines
> of "code"... (And for the record, I've written both new make functions
> AND my own version of cygpath, so I know what I'm talking about.)

Properly written, perhaps about 10.  But what's a constant factor between
friends? ;-)

> Except note you would almost certainly want $(cygpathu) and $(cygpathw).

Umm, actually I was thinking of $(cygpath) with 2 parameters -- the type
of conversion, and the list of paths.

> Because no one seems to have gotten the point yet,
> http://cygwin.com/acronyms/#SHTDI ...and that somebody is not likely to
> be one of the people not having problems, so if all these other posters
> would kindly put their patches where their mouths are, then maybe
> something would be accomplished.

And those patches should certainly go to the GNU make mailing list for
the upstream maintainers to review.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/

