News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to compile gdb?

Started by Michael, January 19, 2006, 05:58:08 PM

Previous topic - Next topic

Michael

Hello,

I have tried to compile gdb 6.4 to see if it works with C::B. Unfortunaltely I have some problems with the command make:

Quote
...
configure: WARNING: no enhanced curses library found; disabling TUI
configure: error: "*** Gdb does not support native target i686-pc-mingw32"
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/c/gdb-6.4'
make: *** [all] Error 2

To compile gdb, I use MYSYS and MinGW. It seems that other people got problems (similar or not) when trying to compile gdb with MinGW. Did someone of you successfully compile gdb? I am not sure if there is an easier alternative to build it.

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

thomas

QuoteGdb does not support native target i686-pc-mingw32
That's quite a definite message... you might try cygwin, but then you have those dll dependencies... :(
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Michael

Quote from: thomas on January 19, 2006, 06:04:59 PM
QuoteGdb does not support native target i686-pc-mingw32
That's quite a definite message... you might try cygwin, but then you have those dll dependencies... :(
Yes, I have thought the same too, but hoped to be wrong. I have found a website that offers a set of patches to port the GNU debugger gdb-5.1 to the mingw environment. But gdb 5.1 is too old.

How it was built gdb 6.3 that comes with C::B?

Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Michael

After a bit more of search, I have found the answer :). I have looked at the MinGWiki and searched for gdb. VoilĂ . I got this interesting and helpful article. Why I have not searched in the MinGWiki before... :roll:

Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]