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

linux

Altera_Forum
Honored Contributor II
1,019 Views

Hey, 

 

Do you guys support a linux build environment for building nios2 uClinux applications? I'm currently trying to switch over to my linux workstation for all development (I'm getting tired of cygwin's being so anemic), and while I've got the IDE up the uClinux distribution is initially looking windows-specific. Am I missing something? 

 

Many thanks.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
311 Views

I've created a Linux specific build and compiler toolchain with gcc 3.4.3. I am in the process of testing this, but up till now, all looks fine. 

 

just  

$ ARCH=nois2nommu CROSS_COMPILE=nios2-linux-uclibc- make 

 

(for the kernel) 

 

$ ./configure --host=nios2-linux-uclibc $ make 

 

for userspace with autotools. 

 

etc, ... 

 

It links against uclibc instead of newlib which result in smaller binaries.  

 

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/ph34r.gif Mail me if you&#39;re interested, I&#39;ll send the sources/archive of the toolchain.
0 Kudos
Reply