Re: Is cygwin_ROOT still there?

2003-12-18 Thread L. D. Marks
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 [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]
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/



Re: Is cygwin_ROOT still there?

2003-12-18 Thread Christopher Faylor
On Thu, Dec 18, 2003 at 07:34:11AM -0600, L. D. Marks wrote:
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.

Wouldn't checking for cygwin1.dll be an infinitely better test?

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.

startxwin.bat != cygwin

This is just a convention used by one .bat file.  It is not a universally
understood convention throughout cygwin.

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



Is CYGWIN_ROOT still there?

2003-12-16 Thread L. D. Marks
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). For instance, if I change c:\cygwin
to c:\cygwin_t and use set CYGWIN_ROOT=\cygwin_t a
ls / (using a local copy of sh.exe and relevant dll's)
gives ls: /: No such file or directory.

Any suggestions?

---
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:[EMAIL PROTECTED]
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/



Re: Is cygwin_ROOT still there?

2003-12-16 Thread Christopher Faylor
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 [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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