delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/18/08:34:51

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: Thu, 18 Dec 2003 07:34:11 -0600 (CST)
From: "L. D. Marks" <ldm AT risc4 DOT numis DOT nwu DOT edu>
X-X-Sender: ldm AT risc4 DOT numis DOT nwu DOT edu
To: cygwin AT cygwin DOT com
Subject: Re: Is cygwin_ROOT still there?
In-Reply-To: <20031216180803.GD9896@redhat.com>
Message-ID: <Pine.HPX.4.44.0312161228340.4583-100000@risc4.numis.nwu.edu>
MIME-Version: 1.0
Note-from-DJ: This may be spam

Thanks. A slightly tortuous solution, but this works (after adding mount
to a limited set of executables). FYI, I used a ls /cygwin/cygwin.bat
to test for the existence of cygwin on the system.


N.B., to include a snippet from startxwin.bat:

REM The path in the CYGWIN_ROOT environment variable assignment assume
REM that Cygwin is installed in a directory called 'cygwin' in the root
REM directory of the current drive.  You will only need to modify
REM CYGWIN_ROOT if you have installed Cygwin in another directory.  For
REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need
REM to change \cygwin to \foo\bar\baz\cygwin.


On Tue, 16 Dec 2003, Christopher Faylor wrote:

> On Tue, Dec 16, 2003 at 11:50:32AM -0600, L. D. Marks wrote:
> >I'm trying to put togethor a windows version of a (unix) GNU-type
> >package.  I've run into a problem that the DOS CYGWIN_ROOT parameter
> >does not seem to want to work at least on an XP machine -- no matter
> >what I do it seems to be set to /cygwin (or a different location if
> >that is how setup was run).
>
> To the best of my knowledge, cygwin has never honored a CYGWIN_ROOT
> environment variable.  If it did, it predates both my time on the
> project and the CVS repository.  It certainly isn't treated specially
> now.
>
> In any event, use the mount table, i.e., "man mount".
> --
> Please use the resources at cygwin.com rather than sending personal email.
> Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
> and be permanently blocked from mailing lists at sources.redhat.com
>

-----------------------------------------------
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2225 N Campus Drive
Northwestern University
Evanston, IL 60201, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
mailto:ldm AT risc4 DOT numis DOT northwestern DOT edu
http://www.numis.northwestern.edu
Nanocrystallography Workshop, http://ncem.lbl.gov/workshop.htm
-----------------------------------------------




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