g ++编译和链接选项 [英] g++ compile and link options

查看:70
本文介绍了g ++编译和链接选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

天真的问题,也许有单独的g ++编译和链接选项列表,我的意思是一个列表,该列表显示哪些选项用于编译以及哪些选项用于链接.gcc手册说这些是链接选项

naive question perhaps, are there separate lists of compile and link options for g++, I mean a list that shows which options are for compiling and which are for linking. gcc manual says these are the link options

http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options

,这些以外的选项是编译选项吗?在阅读《海湾合作委员会明确指南》时,我感到困惑.

and the options other than these are compile options? I am confused while reading the Definite Guide to GCC.

推荐答案

所有选项.使用总体选项,例如-c和-o以及特定的 c ++选项.

There is a grouped list of all options. With overall options such as -c and -o and specific c++ options.

这篇关于g ++编译和链接选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆