Usage: g++ [options] file…
Options:
-pass-exit-codes Exit with highest error code from a phase.
–help Display this information.
–target-help Display target specific command line options.
–help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,…].
Display specific types of command line options.
(Use ‘-v --help’ to display command line options of sub-processes).
–version Display compiler version information.
-dumpspecs Display all of the built in spec strings.
-dumpversion Display the version of the compiler.
-dumpmachine Display the compiler’s target processor.
-print-search-dirs Display the directories in the compiler’s search path.
-print-libgcc-file-name Display the name of the compiler’s companion library.
-print-file-name= Display the full path to library .
-print-prog-name= Display the full path to compiler component .
-print-multiarch
ubuntu g++ 用法
最新推荐文章于 2024-05-07 21:13:35 发布