Open JazzJackson0 opened 2 years ago
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".
FWIW, I also had to change "CC ?= gcc" to "CC = gcc" in the Makefile. MingW build, win10, powershell. (newly cloned repository)
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\
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