-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Does cmder come with GCC or not? #461
Comments
You may be confusing msys, a part of mingw with msysgit, msysgit only contains enough of the msys utilities to allow git to function correctly on windows. If you want to get gcc working, I suggest installing mingw and see how that goes, you may need to mess around with your PATH env variable but it should work as soon as you install it, like if you were using standard cmd. |
Hmm, but the Git for Windows page says that msysgit comes with all the tools necessary to build Git on a Windows machine, notably, a port of the GCC compiler. I tried looking around the cmder directories, but I'm not sure. Does it come bundled with msysgit or just Git for Windows (without the compiler). I really just want the GCC compiler (or just a good C++ compiler, really) to be accessible through cmder. I'd rather avoid installing anything that alters my registry, PATH or anything else really. |
You don't understand. The parts of But I suggest you install CygWin or MinGW to develop C++ with Cmder. As you going developing, you will need a more complete solution and either of these two folks can handle it. |
Thank you, that's what I was having doubts with. I thought Cmder had all of msysgit bundled with it, not just a subset of it. I tried installing msysgit, but it runs on its own terminal window (MinGW). How would I install MinGW and then configure Cmder add GCC to its path? I thought MinGW came with its own terminal? I really rather use Cmder, and not alter registry or PATH values if I can help it. |
In any case, just do the tips above that will be avaible the tools in the next time you run Cmder. PS: That's what I poorly do with CygWin 😃 |
Well, I'm downloading mingw, to see if I can get it working with that. Should it be simply making the directory visible to the PATH used by cmder? Or does it take something more involved? Thanks for all the help, by the way. When it comes to command line interfaces, I can sometimes tread along. I don't tend to deal with them too often, though, so I can become lost sometimes. Part of the reason I want to try C++ development from the command line. |
I was able to do it with MinGW, compiled a simple HelloWorld, and now ready to go. Thanks for the help, everybody. |
Cmder has the complete Git for Windows which does,not have the compilers. You probably want the Git for Windows SDK dowloadable here https://github.com/git-for-windows/build-extra/releases. It is easier to setup and deal with than mingw. Install it then you can integrate it into cmder. |
Just download and install cygwin with all the packages you want, and copy all the files in the bin folder of cygwin, in the bin folder of cmder. |
I was trying out some C++ development and decided to give GCC a shot since I remembered it being included in MSysGit which was itself included in Cmder. But I can't seem to invoke the compiler. I get the not a recognized command message.
Is it included in the version of MSysGit that Cmder uses? Maybe it's not aliased or something? I'm not super familiar with command line (part of the reason I was doing this), so I could be missing something.
The text was updated successfully, but these errors were encountered: