Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

Generating build tree from the command line

Altera_Forum
Honored Contributor II
961 Views

Hello 

 

How can I generate the build tree from the command line without the GUI configtool. I tried to do something like: 

nios2ecosconfig --ptf=project.ptf --cpu=cpu_0 --config=project.ecc tree 

 

It just creates several directories but not the build tree that is generated by the configtool. 

Is the configtool.exe a special Altera build? 

 

Thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
254 Views

Seems like my project.ecc was broken by my attempts to generate the build tree. It works now. I create the project_build directory manually and cd to it before calling nios2ecosconfig, then I pass the project_install path in the --prefix option to nios2ecosconfig. ecosconfig will then create the build directories and the makefile in the current directory which is project_build, and it will create a directory project_install with the include and lib files. The only difference I found in the makefile was that the one generated by nios2ecosconfig uses /ecos-x/ and not /cygdrive/x/.

0 Kudos
Reply