12.07.2015 Views

MPLAB® C18 C 编译器函数库

MPLAB® C18 C 编译器函数库

MPLAB® C18 C 编译器函数库

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

MPLAB ® <strong>C18</strong> C 编 译 器 函 数 库1.3.2 源 代 码启 动 子 程 序 的 源 代 码 保 存 在 编 译 器 安 装 目 录 的 src\traditional\ startup 和src\extended\startup 子 目 录 中 。1.3.3 重 建使 用 批 处 理 文 件 makestartup.bat 来 创 建 启 动 代 码 , 并 把 生 成 的 目 标 文 件 复 制 到lib 目 录 中 。使 用 makestartup.bat 重 建 代 码 之 前 , 检 查 MPLAB <strong>C18</strong> (mcc18.exe) 是 否 在 正确 的 路 径 中 。1.4 处 理 器 内 核 函 数 库1.4.1 概 述标 准 C 函 数 库 (clib.lib 或 clib_e.lib) 提 供 了 PI<strong>C18</strong> 内 核 架 构 支 持 的 函 数 , 本 系列 中 所 有 处 理 器 都 支 持 这 些 函 数 。 将 在 以 下 章 节 中 描 述 这 些 函 数 :• 第 4 章 , 通 用 软 件 函 数 库 。• 第 5 章 , 数 学 函 数 库 。1.4.2 源 代 码可 以 在 编 译 器 安 装 目 录 的 下 列 子 目 录 中 找 到 标 准 C 函 数 库 中 函 数 的 源 代 码 :• src\traditional\math• src\extended\math• src\traditional\delays• src\extended\delays• src\traditional\stdclib• src\extended\stdclib1.4.3 重 建可 以 使 用 批 处 理 文 件 makeclib.bat 重 建 处 理 器 内 核 函 数 库 。 在 调 用 这 个 批 处 理 文 件之 前 , 确 认 下 列 工 具 在 相 应 路 径 中 :• MPLAB <strong>C18</strong> (mcc18.exe)• MPASM 汇 编 器 (mpasm.exe)• MPLIB 库 管 理 器 (mplib.exe)在 重 建 标 准 C 函 数 库 之 前 , 确 保 环 境 变 量 MCC_INCLUDE 已 经 设 置 为 MPLAB <strong>C18</strong> 头 文件 的 路 径 ( 如 c:\mcc18\h)。DS51297C_CN 第 8 页© 2004 Microchip Technology Inc.

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

Saved successfully!

Ooh no, something went wrong!