Skip to main content
Knowledgebase
Home
Renesas Electronics America - Knowledgebase

How do I link start-up file at a head in order to make it alphabetical?

Latest Updated:12/09/2009

Question:

Although I created a project by High-performance Embedded Workshop, the linkage order of the files is alphabetical order. How do I link start-up file (ncrt0.r30) at a head.

Answer:

Set by taking the following steps.

  • In case of using M3T-NC30WA V.5.30 Release 02 or later and M3T-NC308 V.5.20 Release 02 or later.
    You can set by selecting High-performance Embedded Workshop menu [Build] → command [Linkage Order]. Refer to “Customizing the linkage order” on High-performance Embedded Workshop users manual for more detail.

  • In case of using M3T-NC30WA V.5.30 Release 1 and M3T-NC308 V.5.20 Release 1.
    • It is linked automatically at a head when creating new project workspace, only if the name of start-up program is ncrt0.a30.
      Please use the following option that link automatically at a head.
      1. Menu [Options] → Click “Renesas M16C Standard Toolchain” (*) (“Renesas M16C Standard Toolchain” dialog box is opened”)
      Note(*): In case of M3T-NC30WA, click “Renesas M32C Standard Toolchain”
      2. Click on [Link]
      3. Select “Other” from “Category”
      “Start-up program is linked to a head” is the option to link automatically at a head.
    • If the file name of start-up program is except ncrt0.a30, set by taking the way of [in case of M3T-NC30WA V.5.20 R1]


    •  
  • In case of M3T-NC30WA V.5.20 Release 1
    1. Menu [Option] → Click “Renesas M16C Standard Toolchain”. (“Renesas M16C Standard Toolchain” dialog is opened)
    2. Click on [Link] tab.
    3. Select “input” from “category”
    4. Select “Relocatable files” from “Show entries for:”
    5. Click on [Add] bottom. (Dialog box “Add Relocatable files” is opened)
    6. Select “Configuration directory” from “Relative to:”
    7. Input “ncrt0.r30” to “File path:”
    8. Click on [OK] in “Add Relocatable files” dialog.
    9. Click on [OK] in “Renesas M16C Standard Toolchain” dialog.

    You can link ncrt0.r30 to a head by these steps.

    Summary of [Relocatable files] lists

    • If you add the file which is registered at workspace to [Relocatable files] list, it is linked to ahead of the files registered at workspace.
    • If you add the file which is not registered at workspace to [Relocatable files] list, it is linked to behind the files registered at workspace.
    • The file added to [Relocatable files] list is linked in order of list.
Suitable Products
High-performance Embedded Workshop
C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]
C Compiler Package for M32C Series [M3T-NC308WA]