Cygwin or mingw install#
There's also Linux, which includes it (or is easy to install it.). zip works either way.ĮDIT: Strawberry Perl doesn't include GDB, so you would need to find a Windows binary, compile it (probably a good learning exercise ), or just install MinGW, which includes it. Maybe the "portable" version would work, but they're designed specifically for thimb drive. zip version is that it requires no installation, and is completely portable. Strawberry uses it to compile CPAN modules. The reason you can use Strawberry Perl is because it includes a self-contained, pre-configured version of MinGW. Learn you some C/C++ (and/or Java, Perl.)
![cygwin or mingw cygwin or mingw](https://warwick.ac.uk/fac/sci/moac/people/students/peter_cock/cygwin/cygwinselectdevel.png)
Edit your Windows path (Control panel > System > etc.) and add c:\strrawberry\perl bin c:\strawberry\c\binĤ.
![cygwin or mingw cygwin or mingw](https://blog.garyscott.net/2013/02/how-to-setup-netbeans-for-cpp/cygwin-setup-fig-08.png)
Extract zip file, rename folder to strawberry (or whatever is good for you that's not a hundred chars.), copy to c:\ root (so c:\strawberry)ģc. Download Strawberry Perl 32-bit or 64-bit. For a C/C++ compiler, I use Strawberry Perl. Download and unzip the "Eclipse IDE for C/C++ Developers" version: (this comes pre-configured with the C/C++ plug-ins.)ģ.
![cygwin or mingw cygwin or mingw](https://raw.githubusercontent.com/higoge/image/master/cw/10.png)
Download and install the Oracle Java SE 6 u26 JDK (don't install Java SE 7, if crashes on "for loops"!!!): (you can probably use the JRE I use the JDK so I can also develop in Java if I want to.)Ģ. Not sure which Eclipse you installed, but I tested the following out on a W7/32 machine, and it compiles my hello world C program.ġ.