Forum Discussion
Altera_Forum
Honored Contributor
20 years ago./configure --host=nios2-linux-uclibc- --with-build-cc=gcc --disable-shared ......
about config.sub, check ~/download/uClinux-dist.diff on how to add $basic_machine, eg wgetIndex: user/wget/config.sub
===================================================================
--- user/wget/config.sub (revision 1)
+++ user/wget/config.sub (revision 3)
@@ -274,6 +274,11 @@
m88110 | m6800 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
;;
+ nios2 | nios2-* | nios2 | nios2-*)
+ basic_machine=nios2-altera
+ os=-linux
+ ;;
+
# We use `pc' rather than `unknown'
# because (1) that's what they normally are, and
# (2) the word "unknown" tends to confuse beginning users.