Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

QtCreator Build Gdb

From Qt Wiki
Revision as of 10:58, 24 February 2015 by Maintenance script (talk | contribs)
Jump to navigation Jump to search


[toc align_right="yes" depth="3"]

Building GDB

For Windows

A msys Environment with MinGW is required to build the GDB on Windows.
If it is missing "download":http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/mingw-get-inst-20120426.exe/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 <s>f Makefile.&lt;linux|osx|mingw&amp;gt;<code>
    
    <br />h3. Shipping 
    <br />* Extract qtcreator-gdb</s>&lt;gdb version&amp;gt;-&lt;host&amp;gt;.tar.gz
    
    == Testing ==
    
    * To test GDB just run the executable and type:<br />
    

    python print 23
  • When the GDB prints "23&quot; everything works fine.

Downloads