by eranif on Wed Feb 03, 2010 2:09 pm
There are several ways to achieve this:
- If the tool names are the same, you could simply define the environment variable PATH to point to the toolchain you like
- If the tools are the different, I would define two environment variables sets:
MinGW64
MinGW32
For each set, define the tools, like:
MINGW_MAKE=mingw32-make
MINGW_GCC=gcc
MINGW_GPP=g++
Now, replace the string literals from the following locations:
'settings -> build settings -> compilers' select the 'Tools' entry of your compiler
'settings -> build settings -> build system'
For example, replace g++ to $(MINGW_GPP)
You can now choose to use different environment variables set to switch between the toolchains
Eran