Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble making the executable in Windows. #111

Open
JazzJackson0 opened this issue Oct 8, 2021 · 3 comments
Open

Trouble making the executable in Windows. #111

JazzJackson0 opened this issue Oct 8, 2021 · 3 comments

Comments

@JazzJackson0
Copy link

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

@dlbeer
Copy link
Owner

dlbeer commented Oct 11, 2021

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

@JazzJackson0
Copy link
Author

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".

@tingox
Copy link

tingox commented Jan 24, 2023

FWIW, I also had to change "CC ?= gcc" to "CC = gcc" in the Makefile. MingW build, win10, powershell.
(newly cloned repository)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants