Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

How to use custom linker script

Who can tell me how to use custom linker script file? What 's the path of the system library project folder? I use Nios II 9.1 SP2. Thank you.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You'll find a file named generated.x in this directory:

    \<your_project_name>_syslib\Release\system_description

    This is the default linker script file.

    Copy this into \<your_project_name>_syslib , possibly renaming it as <your_project_name>.x

    Change what you need in the script file which should now appear in that selection dialog in syslib properties.