Entonces, después de resolver los problemas que tenía antes ( pregunta anterior aquí ), tengo otros problemas para compilar gcc 2.95.3 en mi Raspberry.
Esto es lo que obtengo con el
make bootstrap
mando.
../../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
¿Alguien puede ayudarme? ¿Cómo puedo hacer que se compile?
ACTUALIZAR
Después de cambiar el nombre de esa variable, obtengo estos errores:
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
TARGET_APCS_32 ? PROG_MODE_PROG32 : PROG_MODE_PROG26;
estar allí, pero no me di cuenta de que el nombre de la variable cambia dearm_prog_mode
aarm_prgmode
. ¡Gracias! Veamos si eso se compila bien o si obtengo algún otro error