在 Sunos 上编译 boost
我刚刚开始使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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 .