Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Zingam on March 28, 2006, 01:46:58 pm

Title: How do I compile GDB with MinGW?
Post by: Zingam on March 28, 2006, 01:46:58 pm
How do I compile GDB with MinGW?

What should I do to compile GDB with MinGW that is included with CB? And apply a patch to it before that too?
Title: Re: How do I compile GDB with MinGW?
Post by: Michael on March 28, 2006, 01:55:51 pm
How do I compile GDB with MinGW?

I am not sure that you can. I have tried to compile GDB 6.4 with MSYS/MinGW, but without success. Here is my post (http://forums.codeblocks.org/index.php?topic=2058.0).

Anyway, this MinGW wiki article on GDB (http://www.mingw.org/MinGWiki/index.php/gdb) could be useful.

What should I do to compile GDB with MinGW that is included with CB? And apply a patch to it before that too?

Compile? Why? If you are using RC2, GDB is an executable (but you should consider to jumo to the latest nightly build). If you are using a nightly build, then download MinGW and GDB from the MinGW website and install them (before MinGW, then GDB).

Best wishes,
Michael
Title: Re: How do I compile GDB with MinGW?
Post by: Zingam on March 28, 2006, 07:35:22 pm
Well I always use the latest nightly build but once upon a time I have installed RC2 first.


I need some extra functionality. Will I be able to compile it with Cygwin?
Title: Re: How do I compile GDB with MinGW?
Post by: thomas on March 28, 2006, 07:56:30 pm
http://sources.redhat.com/gdb/current/onlinedocs/gdb_31.html#SEC680
Title: How to install GDB 6.7 ?
Post by: hsazerty on October 19, 2007, 07:53:17 pm
Hi,

PLEASE, can someone help me to install GDB 6.7 with minGW ?

I downloaded MinGW, i downloaded GDB 6.7 and extracted it into the root directory of MinGW.

What else ? I dont find the file "gdb.exe" ?

Thank's.
Title: Re: How do I compile GDB with MinGW?
Post by: alchemist on October 20, 2007, 10:24:38 am
did you set the PATH environment variable ?