GCC_EXEC_PREFIX setup etc.

Miscellaneous Forums/General Discussion/GCC_EXEC_PREFIX setup etc.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

OK, that's it, and don't write to system variables, very small tweak, nothing special.

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.