Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ET on September 12, 2010, 11:13:49 pm

Title: How do I use a Cygwin based compiler?
Post by: ET on September 12, 2010, 11:13:49 pm
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!
Title: Re: How do I use a Cygwin based compiler?
Post by: oBFusCATed on September 12, 2010, 11:28:51 pm
Do you use the cygwin compiler preset or you've modified the mingw preset?
You should use the Cygwin one...
Title: Re: How do I use a Cygwin based compiler?
Post by: ET on September 13, 2010, 09:07:59 am
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?