GCC是否支持命令文件
MSVC 编译器支持用于传递命令行选项的命令文件。这主要是由于可以传递到 CreateProcess 调用。
这在 Linux 系统上不是什么问题,但在执行 Unix 应用程序(例如 gcc)的 cygwin 端口时,同样的限制适用。
因此,有谁知道 gcc/g++ 是否也支持某种类型的命令文件?
MSVC compilers support command files which are used to pass command line options. This is primarily due to the restriction on the size of the command line parameters that can be passed to the CreateProcess call.
This is less of an issue on Linux systems but when executing cygwin ports of Unix applications, such as gcc, the same limits apply.
Therefore, does anyone know if gcc/g++ also support some type of command file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当然!
如果您的平台有的话,您还可以使用 xargs 来临时配置此类内容。
Sure!
You can also jury-rig this type of thing with
xargs
, if your platform has it.