Computer Science Canada Gandolf's spiel on compilers |
Author: | Geminias [ Thu Sep 22, 2005 12:03 am ] |
Post subject: | Gandolf's spiel on compilers |
hey, i was using dev-c++ and decided to take your advice gandolf. but i'm kind of stuck at a part of your intructions. after you dl the compiler and add the path (btw i put \bin at the end) and you go into cmd.. i tried changing to the directory of my source file and then i typed in this exactly as it appears. g++ program1.cpp -o program1.exe then i hit enter. and it said g++ is not a valid command :/ any ideas what i've done wrong? |
Author: | wtd [ Thu Sep 22, 2005 12:11 am ] |
Post subject: | |
Are you certain that PATH is set up right? My cmd.exe syntax is rusy, but try something like: "echo %PATH%". |
Author: | Geminias [ Thu Sep 22, 2005 12:13 am ] |
Post subject: | |
that command worked and it displayed everything.. ending with MinGW\bin but i dont know where to go from here EDIT: Yes never mind i figured it out... well, what i did was i renamed g++ to mingw and it seemed to recognize that as a proper command. |
Author: | [Gandalf] [ Thu Sep 22, 2005 3:35 pm ] |
Post subject: | |
Alright, I fixed the path in the tutorial. G++ worked for me, so I'm not sure what caused the problem for you. What version of Windows do you have? |
Author: | rizzix [ Thu Sep 22, 2005 3:36 pm ] |
Post subject: | |
Gandolf again... hmm |
Author: | [Gandalf] [ Thu Sep 22, 2005 3:41 pm ] |
Post subject: | |
Indeed. I get the same problem anywhere I use the name, games, forums, etc. At first I thought it was something in langage difference? But it seems quite some people say/type "Gandolf" ![]() |
Author: | Geminias [ Thu Sep 22, 2005 3:50 pm ] |
Post subject: | |
my bad gandalf, to answer your question i'm using windows xp home edition. |
Author: | [Gandalf] [ Thu Sep 22, 2005 3:55 pm ] |
Post subject: | |
Is it just that people don't know how to spell? ![]() I'm using windows xp professional, so that shouldn't be the problem. The problem is most likely on your end since they would not release it with a problem like this. |