Forum Discussion
Altera_Forum
Honored Contributor
17 years agonios2-gcc compiler
Hi, I am new to uc linux. I have downloaded the nios2-gcc tool chain from ftp://ftp.altera.com/outgoing/nios2gcc-20080203.tar.bz2 (ftp://ftp.altera.com/outgoing/nios2gcc-20080203.tar.bz2) on ...
Altera_Forum
Honored Contributor
17 years ago<div class='quotetop'>QUOTE (Muralidhar @ Jul 21 2009, 04:51 AM) <{post_snapback}> (index.php?act=findpost&pid=23221)</div>
--- Quote Start --- <div class='quotetop'>QUOTE (Muralidhar @ Jul 21 2009, 04:41 AM) <{post_snapback}> (index.php?act=findpost&pid=23220) --- Quote End --- --- Quote Start --- <div class='quotetop'>QUOTE (mschnell @ Jul 13 2009, 02:54 AM) <{post_snapback}> (index.php?act=findpost&pid=23091) --- Quote End --- --- Quote Start --- You need to follow the instructions in the NIOSwIKI: http://www.nioswiki.com/installnios2linux (http://www.nioswiki.com/installnios2linux) -Michael[/b] --- Quote End --- [/b] --- Quote End --- Hi Michel, Thank you for your support. I am using the following document to build the uclinux environment on Windows. http://www.nioswiki.com/operatingsystems/u...ux/nios2colinux (http://www.nioswiki.com/operatingsystems/uclinux/nios2colinux) http://www.nioswiki.com/operatingsystems/u...binarytoolchain (http://www.nioswiki.com/operatingsystems/uclinux/binarytoolchain) So, I have suceeded upto the reading of nios2-linux-uclibc-gcc -v. I have used the following coomands to attain it. localhost ~# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i386- pc-linux-gnu/gcc-bin/3.3.5-20050130 localhost ~# PATH=$PATH:/mnt/xp/CoLinux/opt/nios2/bin localhost ~# nios2-linux-uclibc-gcc -v Reading specs from /mnt/xp/CoLinux/opt/nios2/bin/../lib/gcc/nios2-linux-uclibc/3 .4.6/specs Configured with: /root/buildroot/toolchain_build_nios2/gcc-3.4.6/configure --pre fix=/opt/nios2 --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=nios2 -linux-uclibc --enable-languages=c,c++ --disable-__cxa_atexit --enable-target-op tspace --with-gnu-ld --disable-shared --disable-nls --enable-threads --enable-mu ltilib Thread model: posix gcc version 3.4.6 ----------------------------------------------------------------------------------------------------------------------------------- So as long as I am logged in I am able to access the nios2-gcc compiler. As i logout and log in the root is pointing to linux gcc, not nios. So how can I continue with NIOS II GCC compiler. And in the next step of uclinux-Distrubution. I am planning to use atmark dist. Can you suggest the correct one with the link as atmark is not having support for NIOS II. Regards, Muralidhar [/b] --- Quote End --- Hi, In the following DOC it was given that http://www.nioswiki.com/operatingsystems/uclinux (http://www.nioswiki.com/operatingsystems/uclinux) "If you have only a Windows PC, you can still construct a Linux environment using coLinux , which will run under Windows, see Nios2Colinux . You may use VMWare, too. But they may be difficult for a Linux newbie. Note, you cannot use Linux shell to program JTAG on coLinux under Windows. You must use Nios II command shell for Windows to program JTAG in this case". Regards, P.Muralidhar