What do you mean by "nothing happens"?? We need more details. You're meant to open a terminal window and run gcc there. Let's assume for a moment your source file is called hello.c. Running "gcc hello.c" (without quotes, obviously) will create an executable called a.out, which you can run with "./a.out" (without quotes again). If you use "gcc -ohello hello.c", then the executable will be called hello, which you can run with "./hello". That's pretty much all there is to it. You can add extra gcc options to show warnings and other things (see the gcc man page), but those aren't important for the time being.
Edit: please be patient :/.
|