Help---this is about gpp compiler


#1

I downloaded it and it didn’t work anyway.My OS is Win 10,when i press f5,it said ‘gcc’ could not be spawned.Is it installed and on your path? and i downloaded MinGW,but i don’t know how to use it.so please someone tell me something about this,i really want to use Atom,sorry that my english is not good and hope you can understand what i mean and tell me what’s wrong with it.


#2


#3

This is what hapened when i press f5


#4

You should take a look at the MinGW documentation. It has instructions on how to get started.


#5

I add C:\MinGW\bin; to my PATH .But it’s still not working


Should i write something?


#6

What happens when you open the command prompt and type gcc into it?


#7

Nothing happened,no command prompt , just said ‘gcc’ could not be spawned.Is it installed and on your path?


#8

here ,this is what happens then.


#9

Is that right?


#10

You need to open the command prompt (cmd.exe) and try typing gcc into it.


#11

What should i type?


#12

These three letters: gcc.


#13

OMG! Really thanks for your patience. It’s working now.


#14

So when I do all of this I get this error?

What exactly is going on and can I fix it?


#15

That’s what you’re supposed to get. gcc needs input files, like gcc hello_world.c in order to know what it needs to compile. Activating it alone just tells me that it’s correctly installed on your computer.