User forums > General (but related to Code::Blocks)
How to compile gdb?
(1/1)
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
--- End quote ---
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
thomas:
--- Quote ---Gdb does not support native target i686-pc-mingw32
--- End quote ---
That's quite a definite message... you might try cygwin, but then you have those dll dependencies... :(
Michael:
--- Quote from: thomas on January 19, 2006, 06:04:59 pm ---
--- Quote ---Gdb does not support native target i686-pc-mingw32
--- End quote ---
That's quite a definite message... you might try cygwin, but then you have those dll dependencies... :(
--- End quote ---
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
thomas:
Ask Danny Smith... :)
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
Navigation
[0] Message Index
Go to full version