Important Features
In order to compile and run your c programyou need to have access to the compiler (a program) “gcc” or “cc” at:/opt/local/bin/gcc and/opt/local/bin/cc
When compiling your program myprog.c :%gcc myprog.cYou create an executable a.out
In order to run any program its path needsto be defined in your PATH variable (try %echo $PATH to view the list of paths).This variable is usually initialized in your .profile file - add the working directory(for example “aya/W 3101-01/hw1”) to thepaths list in PATH using the “:” symbol for concatenation. Add the path for the compiler too.