News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

GDB for Windows

Started by Zingam, August 27, 2006, 07:35:08 AM

Previous topic - Next topic

Zingam

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?

killerbot

we use the MinGW port: www.mingw.org, search the wiki on how to install it.


Zingam

Well, I really want GDB 6.5

bigbug

I think you should try to compile it under the MinGW-MSYS environment.

mandrav

Quote from: Zingam on August 27, 2006, 07:35:08 AM
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?
Be patient!
This bug will be fixed soon...