QtCreator Build Gdb

From Qt Wiki
Revision as of 17:18, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Building GDB

For Windows

A msys Environment with MinGW is required to build the GDB on Windows.
If it is missing download [sourceforge.net] and install it to your system.

Building

  • Go to qt-creator/dist/gdb
  • The directory has 3 Makefiles: linux, osx and mingw. Use the one that corresponds to your host os.
  • In case you need additional targets, edit the line starting with ‘targets=’ in the Makefile.

Shipping

  • Extract qtcreator-gdb-<gdb version>-<host>.tar.gz

Testing

  • To test GDB just run the executable and type:
  • When the GDB prints “23” everything works fine.

Downloads

Categories: