QtCreator Build Gdb: 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>=
[[Category:Tools::QtCreator]]<br />[toc align_right=&quot;yes&amp;quot; depth=&quot;3&amp;quot;]


==For Windows==
= Building GDB =


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.
== For Windows ==


==Building==
A msys Environment with MinGW is required to build the GDB on Windows.<br />If it is missing &quot;download&amp;quot;: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
* 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 <s>f Makefile.&lt;linux|osx|mingw&amp;gt;<code>
===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 />
<br />h3. Shipping
* When the <span class="caps">GDB</span> prints “23” everything works fine.
<br />* Extract qtcreator-gdb</s>&lt;gdb version&amp;gt;-&lt;host&amp;gt;.tar.gz


==Downloads==
== Testing ==


* [http://download.qt.io/development_releases/prebuilt/gdb/ <span class="caps">GDB</span> 7.5 binaries] ''[download.qt.io]''
* To test GDB just run the executable and type:<br /></code><br />python print 23<br /><code>
* [http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip Compiled python for Windows] ''[download.qt.io]''
* When the GDB prints &quot;23&amp;quot; everything works fine.


===Categories:===
== Downloads ==


* [[:Category:Tools|Tools]]
* &quot;GDB 7.5 binaries&amp;quot;:http://download.qt.io/development_releases/prebuilt/gdb/
** [[:Category:Tools::QtCreator|QtCreator]]

Revision as of 10:58, 24 February 2015


[toc align_right="yes&quot; depth="3&quot;]

Building GDB

For Windows

A msys Environment with MinGW is required to build the GDB on Windows.
If it is missing "download&quot;: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