You are on page 1of 6

How to configure gcc in EditPlus

Step1: Install gcc compiler by installing the (gcc-4.10-20140608-64.exe for x64) or (gcc-4.10-20140608-32.exe for x32)
Step2: Install the latest version of EditPlus
Step3: Configure tools to compile and execute a C program in EditPlus
Configuring gcc in EditPlus
Open the EditPlus
Select tools Configure user tools
Creating compiler tool:
select Add Tool>> program
Menu Text: C compiler
Command: Write only gcc except this "c:\MinGW\bin\gcc.exe [Select gcc.exe manually from browse button ...]"
Argument: -o $(FileNameNoExt) $(FileName) [Select FileName, FileNameWithoutExtension from Arrow down button]
Initial Directory: $(FileDir) [Select File Directory from Arrow down button]
Select Apply
Creating execution tool (Ctrl+2)
select Add Tool>> program
Menu Text: C execution Tool
Command: $(FileNameNoExt)
Argument:
Initial Directory: $(FileDir)
Select Apply OK
Executing a C program in EditPlus:
Select file new C/C++
Type the program and save with .c file extension otherwise .cpp will take as a default extension (hello.c).
1
2
3
4
5
6
#include<stdio.h>
int main()
{
printf("Hello, World\n");
return 0;
}
Compile the program by selecting Tool1 or by pressing Ctrl+1
Execute the program by selecting Tool2 or by selecting ctrl+2

For EditPlus Full Version Click here

You might also like