Jan 19, 2009
Simpler C Development Environment
If you’re on Windows and you had problems installing Cygwin, there is another package that includes GCC called “MinGW” (minimalist GNU for Windows). Download and run this file:
http://internap.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.4.exe
Go through the installer and keep clicking the defaults. It will then
download and install several other packages. When the install finishes,
do Start Menu -> Run… -> “cmd”, then:
C:\> md tutorial
C:\> cd tutorial
C:\tutorial> set path=C:\MinGW\bin;%path%
C:\tutorial> gcc hello.c
And follow the rest of the directions from the first tutorial post, making the appropriate path substitutions and using \ instead of /.
If you have problems downloading through the automatic installer, try following the MinGW “Manual Download” directions. (Just for the “minimum requirements”.)
Related posts:
- How to Tell SSH Who You Are Do you log in to several servers with different usernames...
- Use SSH to Forward Multiple Protocols to Multiple Machines Let's say you have a half-dozen machines at work you...
- Using Python’s ctypes to Call Into C Libraries The ctypes module makes loading and calling into a dynamic...
- Open an SSH Tunnel in Four Seconds or Less As I mentioned in a previous post on ssh configuration,...
- 9 “Must-Have” Tools for Software Teams The items below are useful systems based on my...