Author Topic: GNU GCC/G++: how do I setup MinGW32 in Slickedit?  (Read 2984 times)


  • Senior Community Member
  • Posts: 102
  • Hero Points: 8
  • SlickEdit 2015 v20.0.1.2 x64, Windows 7 SP1 x64
GNU GCC/G++: how do I setup MinGW32 in Slickedit?
« on: February 14, 2011, 09:13:07 pm »
just starting to use MinGW32, the Windows 32bit version of GNU GCC/G++.

Using the Slickedit GNU GCC Project Wizard, I set up a "HelloWorld" makefile project workspace and added the MinGW32 executable directories in the work-space PATH environment variable, i.e. set PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%

It worked. As I hadn't specified INCLUDE directories, executing g++ -v -c HelloWorld.cpp showed these were being searched:

#include "..." search starts here:
#include <...> search starts here:
End of search list.

Normalized, these are:


Should I include the 'mingw32' 'backward' and 'include-fixed' in the auto-tagging list for the 'GCC-4.5.0-mingw32' C/C++ compiler configuration that Slickedit automatically added to the C/C++ compiler types in the auto-tagging dialog? When identically named  types are defined in multiple include files, which file 'wins' in Slickedit's auto-tagging? Or will there be multiple definitions present in the tag file and offered as completions? I really only want completions from 1 definition.

Once I have sorted this matter out, I suppose the best thing to do is to copy the GNU project type template to a new 'MinGW32' template in the 'Customize Projects' dialog, and then edit the work-space environment options to include the particular MinGW executable paths I need to be set on every such work-space.

What do I do about GDB? The Slickedit version is 7.1, the MinGW is 7.2, both have mingw32 in the version type: is there anything special about the Slickedit version?
« Last Edit: February 15, 2011, 05:00:41 pm by mjdl »