Author Topic: GDB for Windows  (Read 7855 times)

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
GDB for Windows
« 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?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5516
Re: GDB for Windows
« Reply #1 on: August 27, 2006, 09:17:37 am »
we use the MinGW port: www.mingw.org, search the wiki on how to install it.

takeshimiya

  • Guest
Re: GDB for Windows
« Reply #2 on: August 27, 2006, 09:35:50 am »

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
Re: GDB for Windows
« Reply #3 on: August 28, 2006, 07:48:13 am »
Well, I really want GDB 6.5

bigbug

  • Guest
Re: GDB for Windows
« Reply #4 on: August 28, 2006, 08:42:03 am »
I think you should try to compile it under the MinGW-MSYS environment.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: GDB for Windows
« Reply #5 on: August 28, 2006, 09:15:19 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...