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++
12610 Discussions

Error Building Binary Toolchian

Altera_Forum
Honored Contributor II
1,833 Views

Hi, 

 

I'm trying to build the binary toolchain. After building the binary toolchain I try to put the path to locate the tools, I follow the steps of NiosWiki and when I verify, it doesn't go. 

 

I'm using ubuntu 9.04 and I introduce the path in /.bashrc for example : 

PATH=$PATH:/home/Escritorio/Fpga/nios2-linux/toolchain-build/build/nios2/bin 

 

If someone can give an idea, sorry for my ignorance I'm a noob. 

 

Thanks a lot
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
332 Views

Hi, 

 

put  

 

 

--- Quote Start ---  

PATH=$PATH:/home/Escritorio/Fpga/nios2-linux/toolchain-build/build/nios2/bin 

--- Quote End ---  

 

 

in ~/.profile 

 

 

"~/" refers to your home directory. Same path for .bashrc
0 Kudos
Altera_Forum
Honored Contributor II
332 Views

Thanks for the answer.  

 

I have made what you say and it doesn't go yet. Aulthought I have continuo with the prebuilt binary toolchain, inserting the path the same as before and this time the terminal recogmize de command of nios' compiler. 

 

Thanks for your help
0 Kudos
Altera_Forum
Honored Contributor II
332 Views

Maybe you miss the line: 

 

export PATH
0 Kudos
Altera_Forum
Honored Contributor II
332 Views

Thanks a lot for the help. Now it goes

0 Kudos
Reply