Debian cc 平面命名空间

发布于 2024-08-16 11:39:31 字数 232 浏览 1 评论 0原文

当我点击 make 时,如何在 UNIX 系统 Debian 上安装 headerdoc ,它抱怨 cc1:错误:无法识别的命令行选项“-flat_namespace”当我从 Makefile 中删除该选项时,它将无法编译。

How can I install headerdoc on a UNIX system, Debian, when I hit make, it complains
cc1: error: unrecognized command line option "-flat_namespace" when I remove that option from Makefile it won't compile.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

优雅的叶子 2024-08-23 11:39:31

您可能想考虑使用 doxygen。它是便携式的。这个东西似乎支持任何你喜欢的系统,只要它是 MacOSX。

奇怪的是,MacOSX gcc 在文档中没有 -flat-namespace 编译器选项,但它确实存在。有一些证据表明它与链接有关。也许您可以编辑您的问题以发布当您遗漏它时会发生什么?

You might want to consider doxygen, instead. It's portable. This thing appears to support any system you like so long as it's MacOSX.

Oddly, the MacOSX gcc doesn't have a -flat-namespace compiler option in the doc, but it is there. There is some evidence that it is related to linking. Perhaps you could edit your question to post what happens when you leave it out?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文