INSTALL GCC UNDER WINDOWS

INSTALL GCC UNDER WINDOWS MANUALLY..

Step 1:

Download GCC for windows from following link.

Clik Here

Step 2:

Extract and copy it to any location in your C:/ drive.Now next step is to set the path/Environmental variable for the GCC compiler...More About environmental variables...

http://en.wikipedia.org/wiki/Environment_variable

Step 3: Setting path for Gcc....

 

  1. From the Desktop, right-click My Computer and click Properties.
  2. Click Advanced System Settings link in the left column.
  3. In the System Properties window click the Environment Variables button


 For adding path  go to C:/ drive where you extracted the  downloaded GCC folder browse through it and go to bin directory and copy the path ...
For Example:

 

C:\Program Files\GCC\mingw64\bin

 

Finally, in the Environment Variables window (as above) highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths of gcc with a semicolon then add the path as shown

C:\Program Files\GCC\mingw64\bin

 

 Thats all.... click okk and then..

Open command prompt and run your C programs as you do in linux......

No comments:

Setting Spring MVC in Eclipse -Dynamic Project

Steps in Setting Up Spring MVC  The process of setting up the Spring MVC project using Eclipse is a crucial ability for anyone Java dev...

Powered by Blogger.