close

OPTION in command line

ex: g++ -W test.c -o test

 

-W   :Print extra warning messages

-shared :This is actually an option to the linker, not the compiler.

-fpic   :Position independant code, needed for shared libraries.

reference:

http://www.adp-gmbh.ch/cpp/gcc/gcc_options.html#opt_c

arrow
arrow
    全站熱搜
    創作者介紹

    quantum2nd 發表在 痞客邦 留言(0) 人氣()