The Daily Build

Icon

Software Development, version 3.0

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”.)

Share and Enjoy:
  • del.icio.us
  • Digg
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Twitter
  • FriendFeed
  • Posterous
  • email

Category: c-programming

Tagged: , ,

Leave a Reply