For example, suppose the existing path is like this:Quote:
Originally Posted by Akkernight
You would then change it to:Code:%SystemRoot%\system32
Code:%SystemRoot%\system32;C:\MinGW\bin
Printable View
For example, suppose the existing path is like this:Quote:
Originally Posted by Akkernight
You would then change it to:Code:%SystemRoot%\system32
Code:%SystemRoot%\system32;C:\MinGW\bin
Why o.o? C:\ ain't in system32, is it?
That's what the path separator is for. It says that you have one path, "%SystemRoot%\system32", and another "C:\MinGW\bin".Quote:
Why o.o? C:\ ain't in system32, is it?
ohh... Now I get it xD
But why does he use path=%path% then o.O?
The %XYZ% refers to an existing environment variable named XYZ. Anyway, you don't need to care too much about this when all you want to do is set the system path so you can use your C and C++ compilers without fully specifying their pathnames :)Quote:
Originally Posted by Akkernight
Yeah, I figured it out, feel dumb now xD anyways, I didn't have admin rights, so couldn't place it under system variables, but under this account's variables, and just named it Path :P oh and I got it working, so thanks for helping me with this! Learned how to compile using commandline and learned loads about how windows command stuff works ^^
I provided a link to a preinstalled copy of the mingw directory, you can use it directly from that, it sin self extracting format. Yes type it exactly as I did including the path= and the % signs.
You will have to do that every time you open a new dos box, unless you permanently add it tot ehpath variable through teh settigns menu as laserlight mentioned.
BLASPHEMER!!!!!Quote:
Commandline or non-IDE compilation is clearly the worst thing ever invented! >.<
:)
I do indeed find no problems with the nuwen build. It used to include newer GCC (but I think the official distribution has been updated to 4.x, too) than the official distro. Another thing I like about it is that it includes a few common libraries - Boost, SDL, etc. Saves some time.