News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How do I use a Cygwin based compiler?

Started by ET, September 12, 2010, 11:13:49 PM

Previous topic - Next topic

ET

I want to use a compiler that runs under cygwin. I set up the paths, but I get "Execution of ... failed". I suspect it's because it's not a normal Windows executable. How would I set this up to compile? (Same with debugging, BTW.) Thanks!

oBFusCATed

Do you use the cygwin compiler preset or you've modified the mingw preset?
You should use the Cygwin one...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ET

I didn't remember how I created it, so I created a new one as a copy of Cygwin GCC. I get the same problem.

How does Code::Blocks know that it needs to execute things under Cygwin, and how does it run them? Should I see Cygwin invoked in the build log?