相关疑难解决方法(0)

64 位内核,但所有 32 位 ELF 可执行运行进程,这是怎么回事?

输出uname

root@debian:~ # uname -a
Linux 5asnb 2.6.32-5-amd64 #1 SMP Mon Jun 13 05:49:32 UTC 2011 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

但是,/sbin/init可执行文件显示为 32 位:

root@debian:~ # file /sbin/init
/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
Run Code Online (Sandbox Code Playgroud)

该系统的其他方面似乎也有矛盾:

root@debian:~ # echo $HOSTTYPE
i486

root@debian:~ # getconf LONG_BIT
32
Run Code Online (Sandbox Code Playgroud)

linux 64bit 32bit cpu-architecture

9
推荐指数
2
解决办法
1万
查看次数

在具有 64 位处理器的 32 位操作系统上安装 64 位程序

我很好奇。是否可以在具有 64 位处理器的 32 位操作系统上安装 64 位程序?

我在 raspberry pi 3 上运行 Linux,并尝试安装较新版本的 MongoDB:

armv7l GNU/Linux
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
Run Code Online (Sandbox Code Playgroud)

linux 64bit arm 32bit

8
推荐指数
2
解决办法
6203
查看次数

标签 统计

32bit ×2

64bit ×2

linux ×2

arm ×1

cpu-architecture ×1