- Community Home
- >
- HPE Community, Taiwan
- >
- HP-UX
- >
- 系統管理
- >
- 怎麼判斷程式是 32bit 或 64bit?
類別
Company
Local Language
論壇
討論平台
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
論壇
部落格
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 07:50 AM
在 07-13-2005 07:50 AM
怎麼判斷程式是 32bit 或 64bit?
要如何判斷一個程式是32bit的,還是64bit的?
謝謝
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 08:13 AM
在 07-13-2005 08:13 AM
怎麼判斷程式是 32bit 或 64bit?
root@Lab1 # file testmem
testmem: PA-RISC2.0 shared executable dynamically linked -not stripped
- 32bit
root@Lab1 # file /usr/bin/ls
/usr/bin/ls: PA-RISC1.1 shared executable dynamically linked
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 08:20 AM
在 07-13-2005 08:20 AM
怎麼判斷程式是 32bit 或 64bit?
若出現 "PA-RISC2.0",就是 64bit
若出現 "PA-RISC1.1",就是 32bit
是這樣嗎?
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 08:24 AM
在 07-13-2005 08:24 AM
怎麼判斷程式是 32bit 或 64bit?
ELF-64 executable object file - PA-RISC 2.0 (LP64)
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 08:24 AM
在 07-13-2005 08:24 AM
怎麼判斷程式是 32bit 或 64bit?
+DDdata_model Generate code using either the
ILP32 or LP64 data model. Defined values for
data_model are: 32 Use the ILP32 data model.
The size of the int, long and pointer data
types is 32-bits. This is currently equivalent
to +DA1.1. 64 Use the LP64 data model. The size
of the int data type is 32-bits, and the size
of the long and pointer data types is 64-bits.
Defines __LP64__ to the preprocessor, as if
by '#define'. This is currently equivalent
to +DA2.0W.
Note 64-bit object code is generated for PA-
RISC 2.0, and will not execute on PA-RISC 1.1
systems.
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 08:29 AM
在 07-13-2005 08:29 AM
怎麼判斷程式是 32bit 或 64bit?
If you complie with +DA2.0W then the a.out will be as 64bit binary in PA2.0
Summary compile options as
+DA1.1 - 32bit in PA1.1
+DA2.0 - 32bit in PA2.0
+DA2.0W - 64bit in PA2.0
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 08:32 AM
在 07-13-2005 08:32 AM
怎麼判斷程式是 32bit 或 64bit?
- 64 bit
$ cc +DA2.0W a.c
$ file a.out
a.out: ELF-64 executable object file - PA-RISC 2.0 (LP64)
- 32 bit
$ cc +DA2.0 a.c
$ file a.out
a.out: PA-RISC2.0 shared executable dynamically linked -not stripped
$ cc +DA1.1 a.c
$ file a.out
a.out: PA-RISC1.1 shared executable dynamically linked -not stripped
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 08:44 AM
在 07-13-2005 08:44 AM
怎麼判斷程式是 32bit 或 64bit?
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 12:42 PM
在 07-13-2005 12:42 PM
怎麼判斷程式是 32bit 或 64bit?
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 07-13-2005 01:13 PM
在 07-13-2005 01:13 PM