how to compiline c++ program from unix
how to compiline c++ program from unix
Collapse
X
-
Tags: None
-
g++ <filename> -o <outputFilename >Originally posted by siddheshccpphow to compiline c++ program from unix
I hope this works because the command will depend on the compiler that is installed on your system.
Read the following links(as a result of quick google search) for details :
http://www.actcom.co.i l/~choo/lupg/tutorials/c-on-unix/c-on-unix.html
http://www.cse.msu.edu/~cse231/HowToCompile.ht ml -
I'd listen to satch on this one. Haven't checked the links, but the commands are correct.Originally posted by satchg++ <filename> -o <outputFilename >
I hope this works because the command will depend on the compiler that is installed on your system.
Read the following links(as a result of quick google search) for details :
http://www.cse.msu.edu/~cse231/HowToCompile.html
One more thing that can be added to that, though is that you do have to either 1) be in the directory your program is in, 2) add that directory to your path, or 3) use the full filepath there <filename> and <outputFilename > are.Comment
Comment