OK, that's it, and don't write to system variables, very small tweak, nothing special.
edit your BMK source, insert
Before "If AppArgs.length<2 CmdError"
and put a copy of installed MinGW to your BlitzMax directory.
It's a dumb way and I just test recompile brl/pub/axe(axe is from 1.26) OK, I didn't preserve the original PATH(only effective in current process), you can simply getenv_ and put it in the tail if you want.
edit your BMK source, insert
?Win32 putenv_ "MinGW="+BlitzMaxPath()+"/mingw" putenv_ "GCC_EXEC_PREFIX="+BlitzMaxPath()+"/mingw/lib/gcc/" putenv_ "PATH="+BlitzMaxPath()+"/mingw/bin;"+BlitzMaxPath()+"/mingw/libexec/gcc/mingw32/3.4.2" ?
Before "If AppArgs.length<2 CmdError"
and put a copy of installed MinGW to your BlitzMax directory.
It's a dumb way and I just test recompile brl/pub/axe(axe is from 1.26) OK, I didn't preserve the original PATH(only effective in current process), you can simply getenv_ and put it in the tail if you want.