You are here: PSPad forum > English discussion forum > Cygwin as C++ Compiler

Cygwin as C++ Compiler

#1 Cygwin as C++ Compiler

Posted by: DilanShah | Date: 02/21/2011 18:02 | IP: IP Logged

I am using Cygwin on Windows 7 with PSPad and am trying to set up the compiler in highlighter settings to compile an executable of C++ code.

I have followed an example way of doing this, but I cannot get it to compile, even though I have set up the paths correctly.

When I use

/C "set PATH=%PATH%;C:\cygwin\bin\; & make"

I get the message:

make: *** No targets specified and no makefile found. Stop.
Process completed, Exit Code 2.
Execution time: 00:00.136

I then changed the parameters to

/C "set PATH=%PATH%;C:\cygwin\bin\; & g++"

and then I just get the message:

Access is denied.
Process completed, Exit Code 1.
Execution time: 00:00.036

Can anyone help me with this?


Options: Reply | Quote | Up ^

Editor PSPad - freeware editor, © 2001 - 2015 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák