gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems building gnu modula-2 (gcc-12) on Mac OS


From: john o goyo
Subject: Re: Problems building gnu modula-2 (gcc-12) on Mac OS
Date: Wed, 13 Oct 2021 13:37:42 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 2021-10-13 13:02, Gaius Mulley wrote:
juanmiuk <juanmiuk@protonmail.com> writes:

My name is Juan Miguel and I am trying building the gnu modula-2 compiler on 
Mac OS Big Sur 11.6.
Greetings, Juan.  Are you on Intel or Apple Silicon?

Sincerely,
john



  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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]