QtCreatorBuildGdb: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=Building <span class="caps">GDB</span>=


==For Windows==
A msys Environment with MinGW is required to build the <span class="caps">GDB</span> on Windows. <br /> If it is missing [http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/mingw-get-inst-20120426.exe/download 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-&lt;gdb version&gt;-&lt;host&gt;.tar.gz
==Testing==
* To test <span class="caps">GDB</span> just run the executable and type:<br />
* When the <span class="caps">GDB</span> prints “23” everything works fine.
==Downloads==
* [http://download.qt.io/development_releases/prebuilt/gdb/ <span class="caps">GDB</span> 7.5 binaries] ''[download.qt.io]''
* [http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip Compiled python for Windows] ''[download.qt.io]''
===Categories:===
* [[:Category:Tools|Tools]]
** [[:Category:Tools::QtCreator|QtCreator]]

Revision as of 14:21, 23 February 2015