Forum Discussion
Altera_Forum
Honored Contributor
20 years agobuild nios2-elf-gcc with fedore4
Hi, I try to build the compiler tools with fedora4. Binutils compiled and installed well. Following error on the screen when trying building gcc : checking whether byte ordering is big...
Altera_Forum
Honored Contributor
20 years agoGot it !!
I got it works using src from Nios2 window cd. 1. binutils , configure --target=nios2-elf, make, make install 2. gcc in dir pass1, configure --target=nios2-elf --enable-languages=c --with-newlib, make, make install 3. newlib, configure --target=nios2-elf, make, make install 4. gcc in dir pass2, configure --target=nios2-elf --enable-languages=c,c++ --with-newlib, make, make install The libs are for newlib, and can not be used for uclinux.