Forum Discussion

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

Compiler and Linker Srcipt Files

Hi there,

I'd like to use my self written script files. (because I'd like to have full control of my build outputs). But it is not so easy to find all files which are used by NIOS IDE to build the whole project. I am looking for a little examples to create such files. Must I use Nios II SDK Shell to build a project based on self written script files ( I hope not, because it isn't very comfortable, even it isn't working in DOS mode)?

Which languages is the use of the exsitsting script files and and where do i get more information about the commands ?

Thanks,

2 Replies

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

    If I've understood the question correctly, then the answer is that builds are controlled using Make. The top level makefile is generated by the IDE and placed in the Debug/Release directory of your project.

    If you don't want the IDE to manage the makefile's for you, then you can create your own project using the "Advanced C/C++ Project" option. This requires you to provide your own makefile. You can copy one from an existing Nios II project as a starting point.

    The IDE uses GNU make. You can find documentation for this in a lot of different places, including:

    http://www.gnu.org/software/make/manual/make.html (http://www.gnu.org/software/make/manual/make.html)