当我输入时uname -a,它给出以下输出.
uname -a
Linux mars 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:50:33 EDT 2008 i686 i686 i386 GNU/Linux
我怎么知道给定的操作系统是32位还是64位?
这在编写configure脚本时很有用,例如:我要构建什么样的架构?
configure
linux shell processor 32bit-64bit
32bit-64bit ×1
linux ×1
processor ×1
shell ×1