Menu

#656 current working directory should be unix style path

closed-invalid
MSYS (75)
2004-09-26
2004-09-26
No

When the eclipse IDE invokes the make command (the one
of msys), it sets the current directory with a
microsoft-style path (i.e. x:\dir\subdir). This happend
to confuse the build process with autotools
(autoconf/automake/libtools).
I'm using a make wrapper script as work around:

cd $(pwd) && make $*

The 'cd $(pwd)' converts the microsoft-style path to a
unix-style one (i.e. /x/dir/subdir), and the build
works fine.

Curiously, the bug doesn't appear with the c++builderX
IDE, which might change the current directory using the
make --directory option.. i don't know.

The problem might be fixed at several places, but i
think it would be best if all msys executables would
"unixify" their current working directory when starting up.

Discussion

  • Earnie Boyd

    Earnie Boyd - 2004-09-26
    • status: open --> closed-invalid
     
  • Earnie Boyd

    Earnie Boyd - 2004-09-26

    Logged In: YES
    user_id=15438

    MSYS is supposed to translate the paths from POSIX to Win32
    format when spawning non MSYS executables. If it didn't
    then native programs would not work.

    Earnie

     
MongoDB Logo MongoDB