Author Topic: How do I use a Cygwin based compiler?  (Read 2777 times)

Offline ET

  • Single posting newcomer
  • *
  • Posts: 6
    • http://
How do I use a Cygwin based compiler?
« 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!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How do I use a Cygwin based compiler?
« Reply #1 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...
(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!]

Offline ET

  • Single posting newcomer
  • *
  • Posts: 6
    • http://
Re: How do I use a Cygwin based compiler?
« Reply #2 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?