QtCreator Build Gdb: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | No edit summary | ||
| Line 1: | Line 1: | ||
| [[Category:Tools::QtCreator]]<br />[toc align_right="yes&quot; depth="3&quot;] | |||
| = | = Building GDB = | ||
| == For Windows == | |||
| ==Building== | A msys Environment with MinGW is required to build the GDB on Windows.<br />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 | * 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  | * In case you need additional targets, edit the line starting with 'targets=' in the Makefile. | ||
| * Run: <code>make <s>f Makefile.<linux|osx|mingw&gt;<code> | |||
| *  | |||
| <br />h3. Shipping  | |||
| *  | <br />* Extract qtcreator-gdb</s><gdb version&gt;-<host&gt;.tar.gz | ||
| == | == Testing == | ||
| *  | * To test GDB just run the executable and type:<br /></code><br />python print 23<br /><code> | ||
| *  | * When the GDB prints "23&quot; everything works fine. | ||
| == | == Downloads == | ||
| *  | * "GDB 7.5 binaries&quot;:http://download.qt.io/development_releases/prebuilt/gdb/ | ||
Revision as of 10:58, 24 February 2015
[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.<linux|osx|mingw&gt;<code> <br />h3. Shipping <br />* Extract qtcreator-gdb</s><gdb version&gt;-<host&gt;.tar.gz == Testing == * To test GDB just run the executable and type:<br /> 
 python print 23
- When the GDB prints "23" everything works fine.
Downloads
- "GDB 7.5 binaries":http://download.qt.io/development_releases/prebuilt/gdb/