This is the mail archive of the
mailing list for the Cygwin project.
Re: Why are Windows paths broken in make 3.81?
On Wed, 26 Jul 2006, Christopher Faylor wrote:
> On Wed, Jul 26, 2006 at 10:12:51AM -0600, Michael Hirsch wrote:
> >>Yes. See <http://cygwin.com/ml/cygwin-announce/2006-07/msg00008.html>.
> >>If you are using a POSIX-like "OS" (i.e. Cygwin), you should be using
> >>POSIX paths. That's not an inconvenience, that's called writing a bad
> >>makefile. If you aren't using Cygwin for the POSIX environment, you
> >>should be using MinGW.
> >I see. Unfortunately, I am trying to use cygwin to make my life
> >easier on Windows, but I am still constrained to use windows programs.
> >Many of them cannot use the cygwin paths, but require a path like
> >"c:/my/path.exe". It will be very difficult to switch back and forth
> >between path representations. I guess I do need to look into MinGW.
> Maybe someone here would be willing to post a sed transformation which
> would change c:\some\dos\path to /cygdrive/c/some/dos/path.
Here you go:
sed -e 's/\\/\\\\/g;s/^/cygpath /;e'
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html