Renesas Technology, Tools FAQs
Last Updated: May 10, 2004
Document Number: 03092203_e
Q.
When HEW calls the linker, it sorts all relocatable files in alphabetic order. How I can make HEW link NCRT0 as the first file?
A.
Please set up HEW in the following procedure.
For M3T-NC30WA V.5.20 R1:
From the menu, click [Options] -> [Renesas M16C Standard Toolchain...].
(This opens [Renesas M16C Standard Toolchain] dialog.)
1.
Click [Link] tab.2.
Select [Input] from [Category:].3.
Select [Relocatable files] from [Show entries for:].4.
Click [Add] button.
(This opens [Add Relocatable files] dialog.)
5.
Select [Configuration directory] from [Relative to:].6.
Input [ncrt0.r30] to [File path:].7.
Click OK button in [Add Relocatable files] dialog.8.
Click OK button in [Renesas M16C Standard Toolchain] dialog.9.
This setup will ensure that "ncrt0.r30" is linked first.
For M3T-NC30WA V.5.30 R1, M3T-NC308WA V.5.20 R1 and M3T-NC8C V.5.30 R1:
When a new project workspace is created, it will be automatically linked as the first file (head of the list) only if the startup
program name is ncrt0.a30. To link the new workspace to the head position, please use the following option.
From the menu, click [Options] -> [Renesas M16C Standard Toolchain...](*).
(This opens [Renesas M16C Standard Toolchain] dialog.)
Note (*):
For M3T-NC308WA, click on [Renesas M32C Standard Toolchain...].
For M3T-NC8C, click on [Renesas R8C Standard Toolchain...].
1.
Click [Link] tab.2.
Select [Other] from [Category:].
The automatic priority link option is "Start-up program is linked to a head."
3.
●
For startup programs other than those with filename ncrt0.a30, use the M3T-NC30WA V.5.20 R1 setup procedure.●
Outline of [Relocatable files]
When adding a file already registered into the workspace: "ncrt0.r30" is linked before the file already registered into the work
space.
●
When adding a file which is not registered into a workspace: "ncrt0.r30" is linked after the file already registered into the
workspace.
●
The added file is linked in the order of the list from the top.●
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Comentarios a estos manuales