免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2983 | 回复: 7
打印 上一主题 下一主题

关于32位,64位,有谁能给一个清晰的解释? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-16 16:21 |只看该作者 |倒序浏览
64位的程序能在32位的操作系统下运行吗?反之呢?\r\noracle 10g for aix 5L是32位的还是64位的?

论坛徽章:
0
2 [报告]
发表于 2005-06-16 16:59 |只看该作者
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245103.pdf\r\n\r\n看完这本书你就都明白了,但是英文的。实际上看头两章就可以了

论坛徽章:
0
3 [报告]
发表于 2005-06-16 17:00 |只看该作者
希望这个对你有所帮助:\r\n\r\nWill my 64-bit application run on the 32-bit kernel?  [/COLOR] \r\nMost likely. The environment in which the application was built has no bearing on where it can run. Compiler switches are available to create either a 32-bit or a 64-bit executable program from program source code when compiled on either the 32-bit kernel or the 64-bit kernel. In addition, 32-bit programs and 64-bit programs can both be run on either the 32-bit kernel or the 64-bit kernel. However, if your application needs the use of a kernel extension (a program that extends the kernel and may, for example, provide a new system call for the application) which is not supported on both the 32- and 64-bit kernels, your application will only run with the kernel supported by the kernel extension.\r\n\r\n Will my 32-bit application run on the 64-bit kernel? [/COLOR]\r\nIt almost certainly will. The only case where a 32-bit application will not run on the 64-bit kernel is when an application needs the use of a kernel extension (a program that extends the kernel and may, for example, provide a new system call for the application) that is only available in 32-bit mode. One example of this is Oracle 8i, which contains a kernel extension that is only 32-bit enabled. Oracle 9 has no such restriction and runs on the 64-bit kernel. Applications do not normally provide kernel extensions.

论坛徽章:
0
4 [报告]
发表于 2005-06-16 18:58 |只看该作者
想问kernal的模式和OS的模式有什么区别?我的机器现在看来是OS是64位(/bin/lslpp -l bos.64bit显示已经安装及提交 ),但是kernal是32位(bootinfo -K=32)。

论坛徽章:
0
5 [报告]
发表于 2005-06-17 09:38 |只看该作者
理解错误啊。64位机器不能运行32位的aix/kernel/os\r\n\r\n装了bos.64bit只说明可以切换成伪64位支持而已

论坛徽章:
0
6 [报告]
发表于 2005-06-17 10:12 |只看该作者
越来越糊涂了。64位机器不能运行32位OS?到底是怎么个关系?\r\n伪64位支持是什么意思?\r\nRS64 IV是64位的CPU吗?\r\n\r\n
最初由 orian 发布\r\n[B]理解错误啊。64位机器不能运行32位的aix/kernel/os\r\n\r\n装了bos.64bit只说明可以切换成伪64位支持而已 [/B]

论坛徽章:
0
7 [报告]
发表于 2005-06-17 10:18 |只看该作者
bos.64bit是一个OS里面支持64位的组件,就是一些软件包。具体你的OS,也就是内核,是不是64位的,要看你有没有进行64-bit enable。\r\n因此,有bos.64bit这个组件,并不证明你的OS就是64位的。从bootinfo -K的输出结果来看,你的OS是32位的。

论坛徽章:
0
8 [报告]
发表于 2005-06-22 00:24 |只看该作者
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP