Question:
C/C++ compiler needed?
Ronnie Bullard
2012-02-25 11:14:46 UTC
I have been looking for a C/C++ compiler for ages. I want just a compiler not an IDE, i prefer working in a text editor, so a C/C++ compiler for window 7 32-bit would be great. doesn't have to be cross-platform or anything
Three answers:
pzifisssh
2012-02-25 11:23:59 UTC
The Windows Visual Studio C/C++ compiler can be invoked from the command line. It's called "CL.EXE". You can read about it on MSDN.



http://msdn.microsoft.com/en-us/library/9s7c9wdw.aspx



There's a couple of ways to use the Gnu Compiler Collection (GCC) on Windows. I have never tried this one, but if you want to develop native Windows software, then it's probably the one you want.



http://www.mingw.org/



The other way to use GCC in Windows is with Cygwin. Cygwin creates a Unix-like environment within Windows. If you want to share the programs that you write with other people, then either they also have to have Cygwin installed, or you have to create an installer package that contains your program along with the Cygwin DLLs.



http://cygwin.org/
jplatt39
2012-02-25 20:08:42 UTC
Nevertheless:



http://www.mingw.org



And while



http://www.cygwin.com



seems to be more of a UNIX system for Windows -- it's really just some stuff which allows you to program in C and do some file redirection the Windows command line makes difficullt.
?
2012-02-25 19:15:46 UTC
GCC http://gcc.gnu.org/



It just adds new functionality/commands to the command prompt.





Why you be hattin on IDE's? If anything it makes it easier, especially visual studio...


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...