Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Zingam on August 27, 2006, 07:35:08 am
-
How can I compile and use GDB for Windows with CodeBlock?
Well I have compiled GDB with Cygwin and when I try to debug with CodeBlocks. GDB reports that cygdrive/.... etc directory is missing and doesn't work.
Have you compiled GDB 6.5 for Windows?
-
we use the MinGW port: www.mingw.org, search the wiki on how to install it.
-
It comes in an installer: http://prdownloads.sf.net/mingw/gdb-6.3-2.exe?download
-
Well, I really want GDB 6.5
-
I think you should try to compile it under the MinGW-MSYS (http://mingw.org/msys.shtml) environment.
-
Well I have compiled GDB with Cygwin and when I try to debug with CodeBlocks. GDB reports that cygdrive/.... etc directory is missing and doesn't work.
Have you compiled GDB 6.5 for Windows?
Although we have planned to fix this problem, I don't know when it's gonna be fixed.
But, if I 'm not mistaken, couldn't you build gdb with cygwin but pass the -mno-cygwin flag to the compiler?