[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building Emacs from a new MinGW environment
From: |
Dani Moncayo |
Subject: |
Re: Building Emacs from a new MinGW environment |
Date: |
Tue, 17 Sep 2013 10:17:38 +0200 |
> Change this:
>
> case "${srcdir}" in
> [[\\/]]* | ?:[[\\/]]*) ;;
>
> into this:
>
> case "${srcdir}" in
> [[\\/]]* | ?:[[\\/]]*)
> test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W)`
> ;;
>
> This fix, if it works, is better, since it will fix also the stuff
> that gets written into .gdbinit file in the build directory (it didn't
> work for you because an MSYS file name was written there, and the
> MinGW build of GDB doesn't grok that).
This does't work in my case, because at that point, "${srcdir}"
contains the relative path "../emacs.git", not something like
"/c/whatever" or "c:/whatever".
I think that the right fix is to replace *all* the treatment of
patterns like the above ("/c/whatever" or "c:/whatever") with logic
based on the "pwd -W" feature of MSYS.
IOW, an MSYS path doesn't have to match none of the above patterns, so
the only reliable way of getting a Windows-native path is with "pwd
-W".
Therefore, things line "msys_to_w32", "msys_lisppath_to_w32" should be
replaced with the above criteria.
--
Dani Moncayo
- Re: Building Emacs from a new MinGW environment, (continued)
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/15
- Re: Building Emacs from a new MinGW environment, Dani Moncayo, 2013/09/16
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/16
- Re: Building Emacs from a new MinGW environment, Dani Moncayo, 2013/09/16
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/16
- Re: Building Emacs from a new MinGW environment, Dani Moncayo, 2013/09/16
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/16
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/17
- Re: Building Emacs from a new MinGW environment,
Dani Moncayo <=
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/17
- Re: Building Emacs from a new MinGW environment, Dani Moncayo, 2013/09/17
- Re: Building Emacs from a new MinGW environment, Glenn Morris, 2013/09/17
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/17
- Re: Building Emacs from a new MinGW environment, Dani Moncayo, 2013/09/17
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/18
- Re: Building Emacs from a new MinGW environment, Dani Moncayo, 2013/09/18
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/18
- Re: Building Emacs from a new MinGW environment, Dani Moncayo, 2013/09/18
- Re: Building Emacs from a new MinGW environment, Eli Zaretskii, 2013/09/18