Scroll to navigation

size(1) GNU Development Tools size(1)

NAME

size - 列出段節大小和總共大小

總覽 (SYNOPSIS)

size
[-A|-B|--format=compatibility] [--help] [-d|-o|-x|--radix=number ] [--target=bfdname] [-V|--version] objfile...

描述 (DESCRIPTION)

GNU 的 size 程序 列出 參數列表 objfile 中, 各 目標文件(object) 或 存檔庫文件(archive) 的 段節(section)大小 — 以及 總共大小. 默認情況下, 對 每個 目標文件 或 存檔庫中的 每個模塊 產生 一行 輸出.

選項 (OPTIONS)

-A
-B
--format compatibility
使用 這幾個 選項, 你 可以 讓 GNU size 的 輸出效果 類似於 System V size (使用 `-A', 或 `--format=sysv'), 或 Berkeley size (使用 `-B', 或 `--format=berkeley'). 默認情況下 是 類似於 Berkeley 的 單行格式.

--help
簡述 參數和選項.

-d
-o
-x
--radix number
使用 這幾個 選項, 你 可以 讓 各個 段節 的 大小 以 十進制 (`-d', 或 `--radix 10'); 八進制 (`-o', 或 `--radix 8'); 或 十六進制 (`-x', 或 `--radix 16') 數字 的 格式 顯示. `--radix number' 只支持 三個數值參數 (8, 10, 16). 總共大小 以 兩種進制 給出; `-d' 或 `-x' 的 十進制 和 十六進制 輸出, 或 `-o' 的 八進制 和 十六進制 輸出.

--target bfdname
你 可以 通過 參數 bfdname 指定 objfile 的 目標格式. 這個選項 可能 不那麼 必要; 因爲 size 能夠 自動 識別 許多 格式. 參見 objdump(1) 列出 的 有效格式.

-V
--version
顯示 size 的 版本信息.

另見 (SEE ALSO)

info 的 `binutils' 項; The GNU Binary Utilities, Roland H. Pesch (October 1991); ar(1), objdump(1).

版權 (COPYING)

Copyright (c) 1991 Free Software Foundation, Inc.

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English.

[中文版維護人]

徐明 <xuming@users.sourceforge.net>

[中文版最新更新]

2004/02/22

《中國Linux論壇man手冊頁翻譯計劃》

http://cmpp.linuxforum.net

本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
5 November 1991 cygnus support