Problem with gcc
I have gcc installed as followed by the videos. However when I type gcc in the command prompt I get chinese words! I wish I could paste the words in here, but it won't let me.
I don't know if this helps or not, but I the chinese language tool bar installed. It allows me to type chinese characters. I don't see how this can effect the command prompt since I had it turned on to type English not Chinese.
Edit:
I have fixed the Chinese language problem now. All I needed to do was go to command properties, click on the options tab and change the current code page to U.S. instead of Chinese. Hope this helps anyone who has a similar problem.
There still is a problem. ;( When I type gcc into the command prompt, I get:
'gcc' is not recognized as an internal or external command,
operable program or batch file.
I know there's a similar thread with the same problem. I have checked the syntax for the path and I'm pretty sure it's correct. Here is the line:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Python22;C:\Program Files\QuickTime\QTSystem\;C:\MinGW\bin\
Also, I noticed that my command prompt start up is different than the one from the video. In the video, it goes C:\user\wibit.net\. Mine starts out C:\Documents and Settings\Owner\. Could this be why it's not working?
Hello Friend.
Try to uninstall the program and re install, another friend of this forum did that y then all good.
I have uninstalled the program and reinstalled it, but some how I have a new problem now. When I type "gcc" in the command prompt I get:
gcc: fatal error: no input files
compilation terminated.
I don't know what that means, but I hope I'm making progress.
Hi Jake,
your latest error is not an error.
Its just a message you did not use parameters to compile a c program.
U have to use it like:
gcc c\test.c -o c:\test.exe
where test.c is you replace with the path to your C file the same goes for test.exe
I get a similar issue. But when I type in something like
gcc test.c -o test.exe
I get the result
test.c:1:20: fatal error: studio.h: No such file or directory compilation terminated.
I'm now also getting the similar problem as bheft. The words are almost exact, expect mine is 1:19 instead of 1:20.
I finally found the problem. I spelled "stdio.h" wrong. I spelled it "stido.h" instead.
thanks a lot jake i did the same thing i would never have noticed that if it wasnt for you. thanks
I am having the same problem as Jake and seaboardcoast...
"'gcc' is not recognized as an internal or external command,
operable program or batch file"
I have un-installed and re-installed MinGW numerous times and also on a different system. and the error is still the same... I even tried a Dev Cpp compiler with MinGW... same problem...
any other ideas???
Never mind... i got it to work eventually...
thanks anyway!!!
Forum Rules/Features
Welcome to the WiBit.net forums! Check out our terms and features:
Hot Topic(s)
Annoy your friends
Is this something you think someone else would enjoy? Is it not for you, but do you know someone who is down with this type of content? Well share away:
Tweet
The Blog
Don't Let XML Make You a Cheater
This blog is a reminder that cheating in software development can get you into big trouble. Sometimes developers get really really lazy, OR are pressured to write something using overly simplified data structures. Almost every time this happens you are bitten in the butt! Sometimes the problems show up immediately and other times it may take months or years (especially in integrated systems).
- 1 of 78
- ››















I downloaded the latest MinGW, can't make the compiler work.
'gcc' is not recognized as an internal or external command,
operable program or batch file. Does anybody encounter the same problem?
Thanks in advance.