Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

Method: Migrating from Integrated Development Environment TM w/ HEW

Latest Updated:06/27/2011

Question:

What is the method for migrating from the Integrated Development Environment TM to the C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA] V6 with High-performance Embedded Workshop environment?

Answer:

Use one of the following methods:

*V6 and V5 are used to express the following in this FAQ.
V6: indicates V.6.00 Release 00 or later of C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]
V5: indicates V.5.20 Release 1 to V.5.45 Release 01 of C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]

Note:
The linker options in V6 differ from those in V5. Please confirm the differences and make the appropriate changes as needed. Changes to the linker are detailed in: C/C++ Compiler User's Manual "K.1.6 Change of Linkage Editors". In addition, the load module converter function available in V5 has been integrated into the linker in V6. Please confirm the differences and made the appropriate changes as needed. Changes to the module converter function are detailed in: C/C++ Compiler User's Manual "K.1.7 Change of Load Module Converters".


How to register source files used in TM environment after creating a V6 project.
The following method automatically converts basic linker options for V6 project.

  1. Creating V6 projects
    After installing V6, startup the High-performance Embedded Workshop, select either [Application] or [C source startup Application] in the [New Project Workspace] window, and create a workspace.

  2. Deleting generated files
    From the High-performance Embedded Workshop menu, select [Project] → [Remove files] and open the [Remove Project files] window. Click the [Remove All] button to remove all files generated in step 1 above, then click the [OK] button to close the window.

  3. Registering source files used in the TM environment
    From the High-performance Embedded Workshop menu, select [Project] → [Add files], and register the source files used in the TM environment to the project.

  4. Confirming options
    From the High-performance Embedded Workshop menu, select [Build] → [Renesas M16C Standard Toolchain] and confirm the specified options. If one or more options are not specified, select them at this time. In particular, if you have a user definition section, add it to the linker option [Section] and confirm the positioning of all sections.


How to convert to V6 after creating a project in V5
The following method automatically converts all linker options other than the section positioning. However, the conversion must be performed with only V5 installed in the operating environment. If V6 is installed in the environment, execute the process from step 1. If neither V5 nor V6 are installed, execute from step 2. If only V5 is installed, execute from step 3.

  1. Remove V6 registration
    Start up the High-performance Embedded Workshop, select [Administration] in the [Wecome!] window. Click [Component] → [Toolchains]. Remove the V6 registration by selecting component [Renesas M16C Standard Toolchain], version [6.xx.xx], and clicking the [Unregister] button.

  2. Install V5
    Install V5. If you do not have V5, download [Evaluation Software] C Compiler Package for M16C Series and R8C Family [M3T-NC30WA] V.5.45 Release 01 from here and proceed with installation.

  3. Create V5 project from TM environment makefile
    Start up the High-performance Embedded Workshop. In the [New Project Workspace] window, select [Project Types], then [Import Makefile], and create the project. At this point, input the makefile created in the TM environment. The option conversion is executed automatically, so check the box in the same window for [Import options]. After creating the project, close the project and shut down the High-performance Embedded Workshop.

  4. Install or reregister V6
    If your system does not have V6 installed, install it now. If you removed the registration in step 1 above, start up the High-performance Embedded Workshop, click the [Administration] button in the [Welcome!] window, and then open the [Tool Administration] window. Click on either the [Registration] or the [Search disk] button on the right side of the screen and re-register [Renesas M16C Standard Toolchain], version [6.xx.xx].

  5. Change toolchain version to V6
    Start up the High-performance Embedded Workshop and open the project created in step 3 above. In the High-performance Embedded Workshop menu, select [Tool] → [Change Toolchain Version]. Select the V6 you previously installed in the [Toolchain version] pull-down menu and click [OK].

  6. Set the section position
    In the TM environment, the section position was most likely set in the sect30.inc file, but you should also set it to the same position in the linker option [Section].

    To set the linker option, go to the High-performance Embedded Workshop menu and select [Build] → [Renesas M16C Standard Toolchain]. Set the linker option in the [Link/Library] tab.
Suitable Products
High-performance Embedded Workshop
TM
C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]