Difference between revisions of "New toolchain version incompatibility with older e2studio versions (RL78, RX targets)"
(Created page with "Improvements made for the toolchains released in 2021, for both targets RL78 and RX, rendered the option ''--header-files'' to be deprecated, thus was removed. This caused an...") |
|||
Line 4: | Line 4: | ||
Building an RL78 project or an RX project, in an older e2 studio, using a toolchain released starting with year 2021, will cause the below error. | Building an RL78 project or an RX project, in an older e2 studio, using a toolchain released starting with year 2021, will cause the below error. | ||
+ | |||
[[File:Error.png]] | [[File:Error.png]] | ||
Line 11: | Line 12: | ||
There are 2 workarounds to avoid a build failure: | There are 2 workarounds to avoid a build failure: | ||
− | 1. Users can upgrade their older version of e2 studio to a newer one. In the newer version, the option ''--header-file'' was removed from the command line, so selecting ''Project-build'' for Library Generator will not cause any issues on build. | + | 1. Users can upgrade their older version of e2 studio to a newer one. In the newer version, the option ''--header-file'' was removed from the command line, so selecting ''Project-build'' for Library Generator will not cause any issues on build. |
+ | |||
+ | Option --header-files was removed in e2 studio version 2021-07 for RX target, and e2 studio version 2021-10 for RL78 target. | ||
[[File:Solution.png]] | [[File:Solution.png]] |
Latest revision as of 10:08, 12 October 2021
Improvements made for the toolchains released in 2021, for both targets RL78 and RX, rendered the option --header-files to be deprecated, thus was removed. This caused an incompatibility between the toochains released in 2021 and older e2 studio versions, since option --header-files was automatically sent to the command line in e2 studio, if Project-built option was selected for Library Generator tool.
Building an RL78 project or an RX project, in an older e2 studio, using a toolchain released starting with year 2021, will cause the below error.
Workarounds
There are 2 workarounds to avoid a build failure:
1. Users can upgrade their older version of e2 studio to a newer one. In the newer version, the option --header-file was removed from the command line, so selecting Project-build for Library Generator will not cause any issues on build.
Option --header-files was removed in e2 studio version 2021-07 for RX target, and e2 studio version 2021-10 for RL78 target.
2. If an e2 studio upgrade is not possible, users can select Pre-built option instead of Project-built for Library Generator.