打开solaris代码与solaris代码

发布于 2024-07-06 01:34:27 字数 61 浏览 3 评论 0原文

在 Solaris 下编写的代码与 Open Solaris 的兼容性如何? 我对某些内核模块特别感兴趣。

How compatible is code written under Solaris with Open Solaris ? I would be interested specifically in some kernel modules .

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

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

发布评论

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

评论(4

呢古 2024-07-13 01:34:27

特别是内核模块在 Solaris 和 OpenSolaris 之间非常兼容。 OpenSolaris(通过印第安纳计划)正在大力发展用户空间组件,包括安装程序和软件包。

Kernel modules in particular will be very compatible between Solaris and OpenSolaris. OpenSolaris (via Project Indiana) is evolving the user-space components more heavily, including the installer and packages.

就此别过 2024-07-13 01:34:27

这仅涉及核心操作系统守护进程,而不是内核模块,但我已经成功地从源代码编译 OpenSolaris 组件,并在商业 Solaris 上使用生成的二进制文件。 使用 Makefile 显然更容易,但我手动做了一个。

我尝试了一些需要添加调试输出的二进制文件,并使用 gcc 在商业 Solaris 系统上直接编译它们,没有出现任何问题。 正如前面提到的,YMMV 基于它是什么应用程序/模块。

This is with regard to core OS daemons only and not kernel modules, but I've had success compiling OpenSolaris components from source and using the resulting binaries on commercial Solaris just fine. It's obviously easier with a Makefile but I did one manually.

I tried this with a small handful of binaries that I needed to add debugging output to and compiled them directly on the commercial Solaris system using gcc without issue. As mentioned earlier YMMV based on what app/module it is.

日暮斜阳 2024-07-13 01:34:27

如果您使用的是在 Solaris 和 OpenSolaris 中使用的发行版之间兼容的公开内核 API,则为 Solaris 编写的内核模块经过简单的重新编译后应该可以在 OpenSolaris 中运行。

Sun 进行了大量的工作来确保使用公开接口编写的程序是兼容的。 大多数 API 的手册页底部都有一个列出的“暴露/稳定性”条目,以定义的术语说明了如何使用它。

Kernel modules written for Solaris should function in OpenSolaris following a simple recompile providing you are using the exposed kernel APIs that are compatible between the releases that you are using in Solaris and OpenSolaris.

There is a huge amount of work in Sun to ensure that programs written using publicly exposed interfaces are compatible. There is a listed 'Exposure/Stability' entry at the bottom of manual pages for most APIs that state in defined terms how someone can use it.

新一帅帅 2024-07-13 01:34:27

我认为很难量化软件兼容性,但我想说为 Solaris 编写的代码与 OpenSolaris 内核完全向前兼容。 OpenSolaris 源代码演变为 Solaris 11,Sun 对向后兼容性的承诺是不争的事实。

I think it is hard to quantify software compatibility, but I'd say code written for Solaris is quite forward compatible with OpenSolaris kernel. OpenSolaris source code evolves into what will be Solaris 11, and Sun's commitment to backwards compatibility is quite a fact.

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