• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

Arm Compiler 5 在 Keil MDK 5.37不可用

武飞扬头像
zcshh
帮助1

原文链接:https://developer.arm.com/documentation/ka005073/1-0/?lang=en
文章 ID: KA005073
适用于: Keil MDK
机密性:客户非机密

本文中的信息适用于:
Keil MDK 5.37 及更新版本

Arm 编译器 5
问题
我已经安装了 Keil MDK 5.37(或更新版本)。现在,我想构建一个需要 Arm Compiler 5 的项目,但构建会导致以下结果之一:
由于使用 Arm Compiler for Embedded 6 构建项目,因为它是默认工具链,导致多个编译错误。
以下错误消息报告 Arm Compiler 5 不可用:

***Target ‘Debug’ uses ARM-Compiler ‘V5.06 update 7 (build 960)’ which is not available.

如何访问 Arm Compiler 5 来构建我的项目?

回答
虽然 Arm Compiler 5 是其支持的 Arm 目标的成熟且成熟的工具链,但它已停止支持,并且没有计划进一步更新。因此,从 Keil MDK 5.37 开始,它不再包含在安装中。

Arm Compiler 5 仍可用于:
现有项目。
针对旧版 Armv4、Armv5 或 Armv6 目标的新项目。
对于所有其他新项目,Arm 强烈建议您迁移到最新版本的Arm Compiler for Embedded或Arm Compiler for Embedded FuSa。

如果您需要使用 Arm Compiler 5 构建项目或无法迁移到 Arm Compiler for Embedded,则必须手动下载 Arm Compiler 5 并将其添加到 Keil MDK 安装中,如下所示:

打开Arm Compiler 下载索引并点击链接下载所需的 Arm Compiler 5 版本。

选择并下载 Windows 所需的软件包。

将工具链安装到ARMKeil MDK 安装目录的子目录中。例如,如果您的 Keil MDK 安装目录为C:\Keil_v5,则 Arm Compiler 5.06 update 7 的推荐安装路径为.C:\Keil_v5\ARM\ARM_Compiler_5.06u7

按照 Keil MDK 文档的管理 Arm 编译器版本部分中的步骤注册并添加已安装的 Arm Compiler 5 版本。

警告
不支持将工具链安装到其默认安装目录中,并且会导致工具在构建项目时报告以下错误:

Error: C9555E: Failed to check out a license

更多信息
更新 ARM 编译工具 - Keil 应用笔记 267

使用不同版本的 ARM 编译器

Arm Compiler for Embedded Migration and Compatibility Guide

也可以看看
UVISION:在同一台计算机上使用不同版本的 Keil IDE

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /boutique/detail/tanhgabaij
系列文章
更多 icon
同类精品
更多 icon
继续加载