From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:2cc3:: with SMTP id s186mr13059962qkh.330.1624087778629; Sat, 19 Jun 2021 00:29:38 -0700 (PDT) X-Received: by 2002:a25:b2a0:: with SMTP id k32mr18207920ybj.92.1624087778398; Sat, 19 Jun 2021 00:29:38 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 19 Jun 2021 00:29:38 -0700 (PDT) In-Reply-To: <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=219.90.187.107; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 219.90.187.107 References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com> <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6fa5b0b9-95a5-4c0d-81be-cd7f1b88bf81n@googlegroups.com> Subject: Re: Problem building GNAT CE 2021 on Mac Catalina From: Roger Mc Injection-Date: Sat, 19 Jun 2021 07:29:38 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62247 List-Id: I don't know what happened but the problem has changed even when rebuilding= from scratch (original tar balls). In src/gcc/Makefile.in change "path to the system headers on the build mach= ine" to: BUILD_SYSTEM_HEADER_DIR =3D /Library/Developer/CommandLineTools/SDKs/MacOSX= .sdk/usr/include then, from build directory: ../src/configure --enable-languages=3D"c,ada" --with-gmp=3D/usr/local/Cella= r/gmp/6.2.1 --with-mpfr=3D/usr/local/Cellar/mpfr/4.1.0 --with-mpc=3D/usr/lo= cal/Cellar/libmpc/1.1.0 --disable-nls followed by make bootstrap produces: checking whether /opt/GNAT/2021/obj/./gcc/xgcc -B/opt/GNAT/2021/obj/./gcc/ = -B/usr/local/x86_64-apple-darwin19.6.0/bin/ -B/usr/local/x86_64-apple-darwi= n19.6.0/lib/ -isystem /usr/local/x86_64-apple-darwin19.6.0/include -isystem= /usr/local/x86_64-apple-darwin19.6.0/sys-include -fno-checking accepts -= g... yes checking for /opt/GNAT/2021/obj/./gcc/xgcc -B/opt/GNAT/2021/obj/./gcc/ -B/u= sr/local/x86_64-apple-darwin19.6.0/bin/ -B/usr/local/x86_64-apple-darwin19.= 6.0/lib/ -isystem /usr/local/x86_64-apple-darwin19.6.0/include -isystem /us= r/local/x86_64-apple-darwin19.6.0/sys-include -fno-checking option to acc= ept ISO C89... unsupported checking how to run the C preprocessor... /lib/cpp configure: error: in `/opt/GNAT/2021/obj/x86_64-apple-darwin19.6.0/libgcc': configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details make[2]: *** [configure-stage1-target-libgcc] Error 1 make[1]: *** [stage1-bubble] Error 2 make: *** [bootstrap] Error 2 Relevant part of obj/x86_64-apple-darwin19.6.0/libgcc/config.log: configure:4140: /lib/cpp conftest.c /opt/GNAT/2021/src/libgcc/configure: line 1528: /lib/cpp: No such file or d= irectory configure:4140: $? =3D 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:4170: error: in `/opt/GNAT/2021/obj/x86_64-apple-darwin19.6.0/lib= gcc': configure:4172: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details Thanks for ongoing advice.