Install GCC Download & Install Geany Compile C Programs Using Command Mode (CMD) or Geany IDE

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

GCC & GEANY INSTALLATION STEPS ( On Windows 7/8/10)

1. Download & Install GCC ( tdm64-gcc-5.1.0-2.exe )


2. Download & Install Geany ( geany-1.32_setup.exe )
3. Compile C programs using command mode(cmd) or Geany
IDE
** Refer Installation Screenshots below :

GCC Installation Steps( tdm64-gcc-5.1.0-2.exe )


Geany Installation Steps ( geany-1.32_setup.exe )
C Program Compilation/Execution Steps

Method 1 : (Using Command Line/ Terminal)

In Windows : Open cmd

In Linux/Ubuntu/JOSS : Open terminal

Compilation Step : gcc filename.c -o filename (same for


Windows & Linux/Ubuntu/JOSS)

Execution Step : filename ( In windows)


./filename ( In Linux/Ubuntu/JOSS)
OR

Method 2 : ( Using Geany : Compile->Buld->Execute Buttons)

Courtesy of CSE@JECC, THRISSUR !


Configure Geany to Compile C programs using
#include<math.h> library
Follow the Screenshots :

Open GEANY in Linux/JOSS/Windows


GEANY ( COMPILE ----> BUILD ------> RUN )
Courtesy of CSE@JECC, THRISSUR !

You might also like