Forum Discussion
Altera_Forum
Honored Contributor
21 years agolinux
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.1 Reply
- Altera_Forum
Honored Contributor
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
(for the kernel)$ ARCH=nois2nommu CROSS_COMPILE=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're interested, I'll send the sources/archive of the toolchain.$ ./configure --host=nios2-linux-uclibc $ make