Subscribe:

Ads 468x60px

Rabu, 08 Desember 2010

HOW TO INSTALLING GCC COMPILER


         As already described in the previous tutorial, the compiler is the translator source code into machine language to be recognized by the computer.  One of the compiler that can be used is GCC, here I'll explain how to compiler GCC can be used well on your computer.
For windows 7 :
    1. Download file GCC compiler which is known by the name of MinGW.
    2. Then install into your PC .
    3. When the installation is placed on drive C: (not in program files)
ex : C:\MinGW Ex è C: \ MinGW
    1. Then right click on my computer ==> properties
    2. Select advanced
    3. In advenced dialog box, click the environment variables
    4. In the system variables, double click the path variables
    5. Type (C: \ MinGW \ bin), do not forget to add a semicolon (;) before the letter C
    6. Restart your PC 

       To use it: 
      1. Open a commend prompt 
      2. open the drive where you put the file C that you created.
      3. Type (gcc *****.c -o *****.exe)  
example : ( gcc calculator.c –o calculator.exe ) 
       4. Your program is ready for use.                     

 Note: (****) extention file name .c
download MinGW whitout  Installer here...

iws_niws_niws_wiws_eiws_siws_siws_c
iw_niw_niw_wiw_eiw_s0iw_s0iw_c

You can use dev c++ to compile

0 comments:

Posting Komentar

Quote of the Day

if we plant the rice then it is definitely going to grow grass
but if we do not expect to plant grass to grow rice

if we do that then the world will follow hereafter
but if we do that the world then the afterlife will not participate

Followers