GCC_EXEC_PREFIX setup etc.

Miscellaneous Forums/General Discussion/GCC_EXEC_PREFIX setup etc.

After test MinGW for a while, I found why it has problem on Vista if we install MinGW on a secondary directory like C:\Dev\MinGW, so please test it if you have time and can stand messing up your MinGW for a short while.

No copy executable etc needed like the mod thread said, just keep the MinGW setup intact.

Let's say we install MinGW to "C:\Dev\MinGW"
It'll requre following variables:

1.MinGW
C:\Dev\MinGW

2.GCC_EXEC_PREFIX
C:\Dev\MinGW\lib\gcc\
(note the trailing slash or it won't work)

3.PATH
C:\Dev\MinGW\bin;C:\Dev\MinGW\libexec\gcc\mingw32\3.4.2
(or 3.4.5 if you're using current MinGW)

That's minimum things to work with BlitzMax, if you're working it with Code::Blocks, you may need more set some lib and include path.

Tested GCC_EXEC_PREFIX for many times and finally found where the gcc executable look, this only tested on Vista Home Preminium and XP SP2.

May not work on your configuration tho, and I didn't look into full MinGW configuration yet.