QtCreator Build Gdb: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
m (Typo)
Line 13: Line 13:


* Go to qt-creator/dist/gdb
* Go to qt-creator/dist/gdb
* The directory has 3 Makefiles: '''linux''', '''osx''' and '''mingw'''. Use the one that corresponds to your host os.
* 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.
* In case you need additional targets, edit the line starting with 'targets=' in the Makefile.
* Run: <code>make -f Makefile.<linux|osx|mingw></code>
* Run: <code>make -f Makefile.<linux|osx|mingw></code>

Revision as of 14:41, 24 May 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

Building GDB

For Windows

A msys Environment with MinGW is required to build the GDB on Windows. If it is missing download 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.
  • Run:
    make -f Makefile.<linux|osx|mingw>
    


Shipping

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

Testing

  • To test GDB just run the executable and type:
python print 23
  • When the GDB prints "23" everything works fine.

Downloads