Forum Discussion
Altera_Forum
Honored Contributor
19 years agoGenerating build tree from the command line
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? Thanks1 Reply
- Altera_Forum
Honored Contributor
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/.