I would appreciate your help. I built successfully on Linux Mint 20.2. The
error is:
gcc -c -g -Im2/gm2-libs -I../../gcc-git/gcc/m2 -Im2 -I. -Im2/gm2-libs-boot -I.
-Im2/gm2-libs-boot -I../../gcc-git/gcc -I../../gcc-git/gcc/m2/gm2-libs-boot
-I../../gcc-git/gcc/../include
-I../../gcc-git/gcc/../libcpp/include -I../../gcc-git/gcc/../libcody
-I/Volumes/modula2/build-gcc-12/./gmp -I/Volumes/modula2/gcc-git/gmp
-I/Volumes/modula2/build-gcc-12/./mpfr/src
-I/Volumes/modula2/gcc-git/mpfr/src -I/Volumes/modula2/gcc-git/mpc/src
-I../../gcc-git/gcc/../libdecnumber -I../../gcc-git/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc-git/gcc/../libbacktrace
-I/Volumes/modula2/build-gcc-12/./isl/include
-I/Volumes/modula2/gcc-git/isl/include
../../gcc-git/gcc/m2/gm2-libs-ch/termios.c -o m2/gm2-libs-boot/termios.o
../../gcc-git/gcc/m2/gm2-libs-ch/termios.c:877:27: error: use of undeclared
identifier '__MAX_BAUD'
*b = ((t->c_cflag & __MAX_BAUD) == __MAX_BAUD);
^
../../gcc-git/gcc/m2/gm2-libs-ch/termios.c:877:42: error: use of undeclared
identifier '__MAX_BAUD'
*b = ((t->c_cflag & __MAX_BAUD) == __MAX_BAUD);
The process to build was:
git clone git://gcc.gnu.org/git/gcc.git gcc-git
cd gcc-git
git checkout devel/modula-2
Hello Juan,
all fixed in the git repro I think - thanks for the bug report,
regards,
Gaius