Author Topic: cygwin  (Read 2680 times)

Offline aguai

  • Single posting newcomer
  • *
  • Posts: 9
cygwin
« on: June 28, 2006, 12:13:35 am »
will there any preset for cygwin MIGW?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9592
Re: cygwin
« Reply #1 on: June 28, 2006, 07:29:11 am »
will there any preset for cygwin MIGW?
No, but you can very easily create one (I did this already): Just make a copy of the GCC compiler and rename it to e.g. "Cygwin compiler". Then adjust the path's on the program page to point to your Cygwin installation directory. You may have to set additional path's to look for executables (e.g. [Cygwin]/usr/bin...). In addition make sure you add the path under [Cygwin]/usr/include and [Cygwin]/usr/lib to you compiler's and linker's additional directories. Basically that's is and works very well for me.
With regards, Morten.
Ps.: By the way: As always make sure there is no conflicting gcc version in the PATH of your OS that could be called before.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9592
Re: cygwin
« Reply #2 on: June 28, 2006, 08:31:18 am »
...you can also have a lokm in the WiKi (as of now):
http://wiki.codeblocks.org/index.php?title=Installing_Cygwin_Compiler
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ