dlbeer/mspdebug

Trouble making the executable in Windows.

JazzJackson0 opened this issue · 3 comments

I'm currently trying to set up mspdebug for Windows 10. When I go to build the executable from inside mspdebug-master, I get the following error:

$ set path=c:\mingw\bin;c:\MinGW\msys\1.0\bin\

make
bash: c:MinGWmsys1.0binmake: command not found

When I change \ to /:

$ set path=c:/mingw/bin;c:/MinGW/msys/1.0/bin/
bash: C:/mingw/msys/1.0/bin/: Is a directory

I assumed I would be setting a temporary path and then calling make from there, but the commands above don't seem to work as expected.
I'm still new to working from the command line so, I could be misunderstanding something.

Thank you in advance,
Jazz

Hi Jazz,

From bash you'll want to set the path with something like:

export PATH=$PATH:/path/to/dir1:/path/to/dir2

Substituting the paths as appropriate. I've never used bash on Windows with MSYS, so I'm not sure how paths are mapped. You may want to check that in the manual.

Cheers,
Daniel

Thank you! That was super helpful!

Also, just to let you know.
With my current Windows 10 system, the only way I got 'make' to successfully build the executable was to remove all mention of "shell" from the Makefile as well as remove the "?" from "CC ?= gcc".