IAR跳过链接阶段。

huangapple go评论56阅读模式
英文:

IAR skipping linking phase

问题

我正在尝试在IAR IDE中运行我的工作项目,似乎他编译了所有文件(我可以在构建窗口中看到),但从未达到链接阶段和后构建操作(没有任何行指示他完成了任何操作)。
在我老板的电脑上,它可以正常工作,并执行所有所需的操作,但没有人知道为什么...
我们正在使用IAR 4.41A(而且我们不允许升级)。

英文:

I'm trying to run one of my work project in IAR IDE and it seems he compile all the files (i can see it in the build window) but never reach the Linking phase and the post-build action. (There is no line indicate he done anything).
In my boss PC it work 100% and preform all the require operations and no one know why...
we are using IAR 4.41A (and we are not allowed to upgrade)

答案1

得分: 1

我会检查编译器/...实际在幕后执行的操作:

我使用一个更新的(但同样过时的)v7 IAR,在那里你可以告诉IDE打印更多关于它正在执行的内容 - 使用的编译器标志等等。

在v7中,你可以转到工具->选项->消息,然后选择“显示构建消息:全部”。在同一个窗口中,你还可以定义一个.log文件,将输出保存在其中,以便你可以比在IDE控制台窗口中更方便地检查它。

我怀疑IAR v4会有类似的设置?

英文:

I would inspect what the compiler/... is actually doing under the hood:

I use a newer (but similarly outdated) v7 IAR, and in that you can tell the IDE to print more output about what it is doing -- compiler flags being used etc.

In v7, you go to Tools->Options->Messages and select "Show Build Messages: All". In that same window you can also define a .log file where that output is dumped, so you can inspect it more conveniently than in the IDE console window.

I suspect IAR v4 will have a similar setting?

huangapple
  • 本文由 发表于 2023年5月14日 23:49:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/76248369.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定