Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: aguai on June 28, 2006, 12:13:35 am

Title: cygwin
Post by: aguai on June 28, 2006, 12:13:35 am
will there any preset for cygwin MIGW?
Title: Re: cygwin
Post by: MortenMacFly 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.
Title: Re: cygwin
Post by: MortenMacFly 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 (http://wiki.codeblocks.org/index.php?title=Installing_Cygwin_Compiler)
With regards, Morten.