12.07.2015 Views

RealView 编译工具编译器参考指南 - ARM Information Center

RealView 编译工具编译器参考指南 - ARM Information Center

RealView 编译工具编译器参考指南 - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

编 译 器 命 令 行 选 项2.1.153 --translate_gcc此 选 项 通 过 启 用 GNU 工 具 的 命 令 行 转 换 , 有 助 于 仿 真 gcc。用 法您 可 以 使 用 此 选 项 来 提 供 以 下 任 意 项 :• 以 <strong>ARM</strong> Linux 为 目 标 的 完 整 GCC 仿 真• 完 整 GCC 仿 真 的 子 集 , 表 现 形 式 为 将 各 个 GCC 命 令 行 参 数 转 换 为 其RVCT 等 效 项 。要 提 供 完 整 的 GCC 仿 真 , 还 必 须 使 用 --arm_linux_config_file。 此 选 项 组 合 可 选择 配 置 文 件 指 定 的 相 应 GNU 头 文 件 和 库 , 并 包 括 对 某 些 缺 省 行 为 的 更 改 。要 将 各 个 GCC 命 令 行 参 数 转 换 为 其 RVCT 等 效 项 而 不 以 完 整 的 GCC 仿 真 为 目标 , 请 使 用 --translate_gcc 仿 真 gcc, 但 不 要 与 --arm_linux_config_file 一 起 使用 。 由 于 使 用 此 方 法 时 不 以 完 整 的 GCC 仿 真 为 目 标 , 因 此 将 保 留 RVCT 缺 省 行为 , 并 且 不 以 <strong>ARM</strong> Linux 为 目 标 设 置 任 何 缺 省 值 。 RVCT 库 路 径 和 选 项 缺 省 值保 持 不 变 。限 制如 果 在 命 令 行 中 指 定 <strong>ARM</strong> Linux 配 置 文 件 并 使 用 --translate_gcc, 则 会 改 变--bss_threshold、--relaxed_ref_def、 --no_relaxed_ref_def、--signed_bitfields 和--unsigned_bitfields 的 缺 省 设 置 。另 请 参 阅• 第 2-8 页 的 --arm_linux• 第 2-10 页 的 --arm_linux_config_file=path• 第 2-11 页 的 --arm_linux_configure• 第 2-13 页 的 --arm_linux_paths• 第 2-24 页 的 --configure_cpp_headers=path• 第 2-25 页 的 --configure_extra_includes=paths• 第 2-26 页 的 --configure_extra_libraries=paths• 第 2-27 页 的 --configure_gcc=path• 第 2-28 页 的 --configure_gld=path• 第 2-29 页 的 --configure_sysroot=path• 第 2-107 页 的 --relaxed_ref_def, --no_relaxed_ref_def<strong>ARM</strong> DUI 0348BC Copyright © 2007-2009 <strong>ARM</strong> Limited. All rights reserved. 2-121ID090708Non-Confidential, Unrestricted Access

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!