[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Path Problem When Emacs21 Built with Cygwin
From: |
Yong LU |
Subject: |
Re: Path Problem When Emacs21 Built with Cygwin |
Date: |
Sun, 11 Nov 2001 04:54:47 +0800 |
User-agent: |
Mutt/1.2i |
On Sat, Nov 10, 2001 at 09:50:05PM +0200, Eli Zaretskii wrote:
> > Date: Sun, 11 Nov 2001 02:51:45 +0800
> > From: Yong LU <lyongu@ailab.pku.edu.cn>
> > >
> > > Does the Make port you used have some switch or any other way to make
> > > it convert /cygdrive/x strings to the native Windows file-name format?
> > > If not, I don't see how this can be solved without resorting to
> > > tricks such as what David suggested. However, such tricks is not
> > > something I'd gladly tell users to do.
> >
> > I can't find such switch. Maybe we should make a suggestion to cygwin's
> > developer?
>
> Yes, please.
I just found this util in cygwin's distribution to convert pathnames.
$ cygpath
Usage: cygpath [-p|--path] (-u|--unix)|(-w|--windows [-s|--short-name]) filename
-a|--absolute output absolute path
-c|--close handle close handle (for use in captured process)
-f|--file file read file for path information
-u|--unix print Unix form of filename
-w|--windows print Windows form of filename
-s|--short-name print Windows short form of filename
-W|--windir print `Windows' directory
-S|--sysdir print `system' directory
-p|--path filename argument is a path
-i|--ignore ignore missing argument
$ cygpath -w /cygdrive/u/lyongu
u:\lyongu
I think this can be used when generating the makefile. Slashes are also
converted to backslashes, so maybe we should quote the result.
Yong
- Path Problem When Emacs21 Built with Cygwin, Yong LU, 2001/11/09
- Re: Path Problem When Emacs21 Built with Cygwin, Eli Zaretskii, 2001/11/10
- Re: Path Problem When Emacs21 Built with Cygwin, Yong LU, 2001/11/10
- Re: Path Problem When Emacs21 Built with Cygwin, David Ponce, 2001/11/10
- Re: Path Problem When Emacs21 Built with Cygwin, Eli Zaretskii, 2001/11/11
- Re: Path Problem When Emacs21 Built with Cygwin, Eli Zaretskii, 2001/11/10
- Re: Path Problem When Emacs21 Built with Cygwin, Yong LU, 2001/11/10
- Re: Path Problem When Emacs21 Built with Cygwin, Eli Zaretskii, 2001/11/10
- Re: Path Problem When Emacs21 Built with Cygwin,
Yong LU <=
- Re: Path Problem When Emacs21 Built with Cygwin, Eli Zaretskii, 2001/11/11
- Re: Path Problem When Emacs21 Built with Cygwin, Yong LU, 2001/11/11
- Re: Path Problem When Emacs21 Built with Cygwin, Jason Rumney, 2001/11/10
- Re: Path Problem When Emacs21 Built with Cygwin, Jason Rumney, 2001/11/16