dingrong 发表于 2014-5-4 15:27:03

IAR FOR RL78 1.3和1.4的版本问题

在1.3版本下正常编译,到1.4下,出现Fatal Error: Segment HUGE_Z must be defined in a segment definition option (-Z, -b or -P) 错误。原因在于1.4支持了long long 为64位数据格式,而在1。3下为32位。同时增加了:
1.40版
支持多重继承

该编译器现在支持C + +的功能多重继承。

巨大的指针支持

编译器现在支持__巨大的关键字,以允许访问超过64字节边界。

很久很久支持

编译器现在支持64位整数类型。

外部分析仪

灵活的机制来调用外部分析仪项目文件。这通常被用作一个接口,如PC-皮棉静态分析工具。

自定义参数变量

自定义参数变量可以用在IAR嵌入式工作台IDE每当有需要宏观样扩张依赖于当前上下文。例如,这可以在参数到外部构建工具。

新窗口的C-SPY宏

两个新的C-SPY的窗户已被添加到易于管理的C-SPY宏。该宏文件被加载和调试宏的窗口显示在调试器中可用的所有宏的列表宏注册窗口控件。

更新用户文档

在C / C + +编译器用户指南已更新,以反映产品的变化。

更新的设备支持和示例项目

SFR头文件,链接器配置文件和设备描述文件已经添加了最新的瑞萨设备与各种新的示例项目在一起。
原说明:
Version 1.40
Support for multiple inheritance

The compiler now supports the C++ feature Multiple inheritance.

Huge pointer support

The compiler now supports the __huge keyword to enable access beyond a 64-Kbyte boundary.

Long long support

The compiler now supports 64-bit integer types.

External analyzers

A flexible mechanism to invoke external analyzers for project files. This is typically used as an interface to static analysis tools like PC-lint.

Custom argument variables

Custom argument variables can be used in the IAR Embedded Workbench IDE whenever there is a need for a macro-like expansion that depends on the current context. This could for example be in arguments to an external build tool.

New windows for C-SPY macros

Two new C-SPY windows have been added to easier manage C-SPY macros. The Macro Registration window controls which macro files are loaded and the Debugger Macros window shows a list of all macros available in the debugger.

Updated user documentation

The C/C++ Compiler User Guide has been updated to reflect the product changes.

Updated device support and example projects

SFR header files, linker configuration files, and device description files have been added for the latest Renesas devices together with various new example projects.
所以 在用1.4打开1.3的版本时,因为多定义了一个huge数据格式类型,便会出现上面的错误,如果用app3生成的文件,其中xxxx。xcl文件中无huge的数据类型的定义,需要从1.4版本的xcl文件中,对huge定义部分添加了1.3版本的xcl文件中,或者利用1.4的版本的xcl文件。在ocd部分拷贝app3自动生成的xcl文件对ocd定义部分到1.4版本中,并拷贝到本项目中源文件不做修改。
欢迎使用iar for rl78的朋友多多交流。

kingway815 发表于 2014-5-4 23:07:54

话说你是iar的技术支持吗

wxty 发表于 2014-6-12 23:08:15

楼主也不上个河+蟹文件来,真是的。。

dingrong 发表于 2014-6-19 12:06:41

http://www.amobbs.com/forum.php?mod=viewthread&tid=5570435&extra=&highlight=iar&page=2 和谐文件看136楼的比较牛人啊

iwqt1983 发表于 2014-6-27 08:12:16

还有其他的问题吗?IAR FOR RL78

sherry888 发表于 2014-11-7 16:30:37

楼主,IAR for RL78   V1.401 版本,你能用了吗?GO to 好些不可以
页: [1]
查看完整版本: IAR FOR RL78 1.3和1.4的版本问题