From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.146.66 with SMTP id ta2mr5519120pab.128.1475507688973; Mon, 03 Oct 2016 08:14:48 -0700 (PDT) X-Received: by 10.157.39.131 with SMTP id c3mr1405251otb.15.1475507688922; Mon, 03 Oct 2016 08:14:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!l13no1826430itl.0!news-out.google.com!203ni5751itk.0!nntp.google.com!184no1216310ity.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 3 Oct 2016 08:14:48 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3cda:7600:932b:b705:6315:5a80; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3cda:7600:932b:b705:6315:5a80 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4a4cee95-52e4-42c6-b4bb-a8146744bafd@googlegroups.com> Subject: to Simon Wright, re Mac OS X builds From: Lucretia Injection-Date: Mon, 03 Oct 2016 15:14:48 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31975 Date: 2016-10-03T08:14:48-07:00 List-Id: Hi, I'm trying to replicate your build of 6.1.0 for mac so I get an understandi= ng of the build process on Mac. Problem is, it's failing. There must be mor= e than what you are telling going on on your platform. This cannot be all you do (my command line taken from yours): ../../source/gcc-6.1.0/configure --prefix=3D/opt/gcc-6.1.0-mine --without-l= ibiconv-prefix --disable-libmudflap --disable-libstdcxx-pch --disable-libsa= nitizer --disable-libcc1 --disable-libcilkrts --disable-multilib --disable-= nls --enable-languages=3Dc,c++,ada,fortran,objc,obj-c++ --host=3Dx86_64-app= le-darwin15 --build=3Dx86_64-apple-darwin15 --target=3Dx86_64-apple-darwin1= 5 --with-boot-ldflags=3D'-Wl,-headerpad_max_install_names -shared-libgcc' No matter what I do, I fail: checking whether the /opt/gcc-6.1.0/bin/gcc linker (ld) supports shared lib= raries... yes checking dynamic linker characteristics... darwin15 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/Users/laguest/gcc/build/gcc-6.1.0/gmp': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details I've done: export CPP=3D/usr/bin/cpp and export CPP=3D/opt/gcc-6.1.0/bin/cpp I've added quotes, I've even put these vars at the start of my command line= : CC=3D/opt/gcc-6.1.0/bin/gcc CXX=3D/opt/gcc-6.1.0/bin/g++ AR=3D/opt/gcc-6.1.= 0/bin/gcc-ar NM=3D/opt/gcc-6.1.0/bin/gcc-nm RANLIB=3D/opt/gcc-6.1.0/bin/gcc= -ranlib ../../source/gcc-6.1.0/configure ... and CC=3D/opt/gcc-6.1.0/bin/gcc CXX=3D/opt/gcc-6.1.0/bin/g++ AR=3D/opt/gcc-6.1.= 0/bin/gcc-ar NM=3D/opt/gcc-6.1.0/bin/gcc-nm RANLIB=3D/opt/gcc-6.1.0/bin/gcc= -ranlib make all-gcc 2>&1| tee log.make.txt I've tried make all, make all-gcc, make bootstrap, just to see and they all= fail. What am I doing wrong? Thanks, Luke.