<quote who="Paul D. Smith">
> %% "Eli Zaretskii" <[EMAIL PROTECTED]> writes:
>
>   >> Hm.  Maybe the thing to do is for make itself to translate the
>   >> pathnames to always have "/" instead of "\"?
>
>   ez> That would be my suggestion as well.  The DJGPP port does that
> already
>   ez> (in its library code, so don't look for that in Make's sources).
>
> The trick is knowing where/when to do this.  Some places spring to mind:
>
>   * Translate argv[0]
>
>   * Translate the results of the getpwd() call that sets CURDIR,
>     etc. and also provides the string for "entering directory..." output.
>
>   * Translate the results of $(wildcard ...) (?)
>

 * Translate the result of getenv ().

Don't forget though, when spawning a process you need the command line to
use \ instead of /.

Earnie

--
http://www.mingw.org
http://sourceforge.net/projects/mingw
https://sourceforge.net/donate/index.php?user_id=15438


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to