Configuring Notepad++ plugin [nppExec] with GCC 06-05-2014, 04:51 PM
#1
Hi there, I'm trying to configure the NppExec plugin in Notepad++ so that it will compile and run my C programs using the Gcc compiler.
Here is the Execute Command that I'm using:
A sample run gives this Message:
Is there anything wrong with my command?
Here is the Execute Command that I'm using:
Code:
npp_save
cd "$(D:\MinGW-4.8.1\bin\)" //That's where Gcc resides in my system.
cmd /c del "$(NAME_PART)".o "$(NAME_PART)".exe *.o
gcc -o $(NAME_PART) $(FILE_NAME)
npp_run "$(NAME_PART)".exeA sample run gives this Message:
Quote:Current directory: C:\Program Files (x86)\npp.6.5.4.bin
cmd /c del "terminate".o "terminate".exe *.o
Process started >>>
Could Not Find C:\Program Files (x86)\npp.6.5.4.bin\terminate.o
<<< Process finished. (Exit code 0)
gcc -o terminate terminate.c
CreateProcess() failed with error code 2:
The system cannot find the file specified.
NPP_RUN: "terminate".exe
- the specified file was not found
================ READY ================
Is there anything wrong with my command?
![[Image: MUJ8qSW.png]](http://i.imgur.com/MUJ8qSW.png)
-----------------------------------
Now learning:
Android Development, Java
Working on:
An FTP Client for Android
-----------------------------------
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)