Hi all, when I do project with R5F10PGH, I saw that there is two types of linker file .icf (ILINK command file) and .xcl (XLINK command file)
What is the difference between these two linker files?
Hi HeavenStone,
There are actually old threads that discuss about this one:
https://community.renesas.com/mcu-mpu/rl78/f/rl78-forum/6762/linker-for-rl78
https://community.renesas.com/mcu-mpu/rl78/f/rl78…
https://community.renesas.com/mcu-mpu/rl78/f/rl78-forum/11389/linker-file-for-rl78-i1c
JBIf this response, or one provided by another user, answers your question, please verify the answer. Thank you!Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
Thank you .
To be clear, IAR v1.xx for RL78 was compatible with the older legacy 78K0 tools, and used the XLINK linker from IAR that took XCL as input and generates uBROF executable file format.
IAR v2/v3/v4 for RL78 uses the ILINK linker that takes the ICF as input, and generates ELF/DWARF executable file format.
Here are a couple of related docs for reference:
Migration Guide from the CS+ CA78K0R toolchain
Migrating from UBROF to ELF/DWARF