LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   What is g++'s compilation options under linux? (https://www.linuxquestions.org/questions/programming-9/what-is-g-s-compilation-options-under-linux-595149/)

ArthurHuang 10-28-2007 12:35 AM

What is g++'s compilation options under linux?
 
I just write my first STL program and compile it with command
g++ -Wall program.cpp

Are there any options missing?

Thanks!

Nylex 10-28-2007 01:13 AM

See the man page is the obvious answer. You might want a -o in there to change the name of your executable from the default a.out.


All times are GMT -5. The time now is 10:34 AM.