delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/23/16:36:02

X-Spam-Check-By: sourceware.org
Date: Wed, 23 Nov 2005 16:35:51 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Practical method for automatic Cygwin install?
Message-ID: <20051123213551.GA2952@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <20051123035342 DOT 9E89913C1A1 AT cgf DOT cx> <20051123192106 DOT GA757 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 63 DOT 0511231611030 DOT 14415 AT slinky DOT cs DOT nyu DOT edu> <4384DF7D DOT 142487C5 AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <4384DF7D.142487C5@dessent.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Wed, Nov 23, 2005 at 01:30:37PM -0800, Brian Dessent wrote:
>Igor Pechtchanski wrote:
>>Or you could look at how setup.exe/cygcheck does it and help extract
>>the mount code into a library that could be linked into other apps.
>
>FWIW, this idea of creating a mingw "libcygpath" really appeals to me
>and it's been an idea I've been meaning to look at for a while.  It
>would be a library that knows how to read the mount table, and do basic
>path conversions, without depending on cygwin1.dll.  Then cygpath and
>setup.exe could both statically link to this library, and it would be
>available to other users as well.

FWIW, Robert Collins and I talked about doing this years ago but it just
suffered due to SHTDI.  I think that path.cc in the utils directory
should be a pretty good start towards a library for reading the mount
table.  It is what is used by strace.cc and cygcheck.cc.

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