Итак, после решения проблем, которые у меня были раньше (предыдущий вопрос здесь), у меня возникли другие проблемы при компиляции gcc 2.95.3 на моей Raspberry.
Это то, что я получаю с
make bootstrap
команда.
../../gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’:
../../gcc-2.95.3/gcc/config/arm/arm.c:286:20: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
../../gcc-2.95.3/gcc/config/arm/arm.c:530:17: error: lvalue required as left operand of assignment
make[2]: *** [arm.o] Error 1
make[2]: Leaving directory `/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make: *** [bootstrap] Error 2
Может кто-нибудь мне помочь? Как я могу сделать это скомпилировать?
ОБНОВИТЬ
После изменения имени переменной я получаю следующие ошибки:
In file included from /usr/include/stdlib.h:25,
from ../../gcc-2.95.3/gcc/libgcc2.c:41:
/usr/include/features.h:323: bits/predefs.h: No such file or directory
/usr/include/features.h:356: sys/cdefs.h: No such file or directory
/usr/include/features.h:388: gnu/stubs.h: No such file or directory
In file included from ../../gcc-2.95.3/gcc/libgcc2.c:41:
/usr/include/stdlib.h:42: bits/waitflags.h: No such file or directory
/usr/include/stdlib.h:43: bits/waitstatus.h: No such file or directory
/usr/include/stdlib.h:320: sys/types.h: No such file or directory
In file included from ../../gcc-2.95.3/gcc/libgcc2.c:42:
/usr/include/unistd.h:203: bits/posix_opt.h: No such file or directory
/usr/include/unistd.h:207: bits/environments.h: No such file or directory
/usr/include/unistd.h:218: bits/types.h: No such file or directory
In file included from ../../gcc-2.95.3/gcc/libgcc2.c:42:
/usr/include/unistd.h:606: bits/confname.h: No such file or directory
make[4]: *** [libgcc2.a] Error 1
make[4]: Leaving directory `/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make[3]: *** [stmp-multilib-sub] Error 2
make[3]: Leaving directory `/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make[2]: *** [stmp-multilib] Error 1
make[2]: Leaving directory `/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make: *** [bootstrap] Error 2