在 Sunos 上编译 boost

发布于 2024-08-24 19:16:32 字数 344 浏览 4 评论 0原文

我刚刚开始使用 boost 库。 对于我们的一个项目,我想使用 sun 编译器在 Sun 操作系统上编译 Boost 1.39.0。但是,如果我使用 http:// /www.boost.org/doc/libs/1_39_0/more/getting_started/unix-variants.html,并非所有目标都被编译。有人可以提供有助于在 Sun 操作系统上编译它的资源吗?是否有任何单独的指令集用于在 Sun OS 上进行编译

I have just started with using boost libraries.
For one of our projects i want to compile Boost 1.39.0 on Sun OS using sun compiler. However if i compile it using steps mentioned in http://www.boost.org/doc/libs/1_39_0/more/getting_started/unix-variants.html, not all of the targets are compiled. Can someone provide resources which would be helpful for compiling it on Sun os. Are there any separate set of instructions for compiling on Sun OS

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

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

发布评论

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

评论(1

隔岸观火 2024-08-31 19:16:33

SunOS 编译器因没有一致的库和编译而臭名昭著。但我们确实有至少一名使用该平台的测试人员(请参阅 Sandia-阳光测试仪)。从你所看到的来看,工具集中有很多失败的地方。至于设置,关键是不要使用标准的 STD 库,而是使用 STLport STD 库。正如您可以从 Sandia-sun 测试仪的设置描述中看到的那样(请参阅 桑迪亚-太阳信息)。您可以做的就是尝试并镜像该设置。首先是创建一个 user-config.jam,其中包含该设置的“使用 sun ...”部分。当您构建时,您应该使用类似于以下内容的内容进行构建: bjam sun-5.10 stdlib=sun-stlport address-model=64 。

The SunOS compiler is notorious for not having conformant libraries and compilation. But we do have at least one tester that uses the platform (see Sandia-sun tester). And from what you can see there are many failures in the toolset. As for setting it up the key thing to do is not use the standard STD lib, but use the STLport STD lib. As you can see from the description of the setup of the Sandia-sun tester (see Sandia-sun info). What you can do is try and mirror that setup. First would be to create a user-config.jam that has the "using sun ..." part of that setup. And when you build you should build with something similar to: bjam sun-5.10 stdlib=sun-stlport address-model=64 .

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