Pages: 1
Author Topic: How do I Change the MinGW Directory?  (20,773 Views)
Offline (Unknown gender) time-killer-games
Guest


Email
Posted on: January 28, 2013, 07:13:32 PM
I have a limited, non administrative account, which gives me zero access to run enigma. "Access Denied: C:\Windows\"
I'm not sure but I feel that if I cpould somehow edit the default directory that ENIGMA expects to fid MinGW and change it from C:\Windows to my desktop directory, which is where it is located will then allow me to run enigma properly. How do I do this?

Thanks in advance!
TKG
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #1 Posted on: January 29, 2013, 03:34:56 AM
Edit the file Compilers/Windows/gcc.ey.

Specifically, change these lines:
Code (yaml) Select
path: \MinGW\bin\;\MinGW\msys\1.0\bin\;
tcpath: /MinGW/bin:/bin:
make: \MinGW\msys\1.0\bin\make.exe
binpath: \MinGW\bin\
defines: \MinGW\bin\cpp -dM -x c++ -E $blank
searchdirs: \MinGW\bin\gcc -E -x c++ -v $blank


Replace [snip]\MinGW[/snip] with the path to MinGW on your desktop. It should have no spaces in it, preferably.

Cheers
Pages: 1