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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Luke A. Guest Newsgroups: comp.lang.ada Subject: Re: to Simon Wright, re Mac OS X builds Date: Thu, 6 Oct 2016 11:54:49 +0100 Organization: Aioe.org NNTP Server Message-ID: <1591021727.497443716.927203.laguest-archeia.com@nntp.aioe.org> References: <4a4cee95-52e4-42c6-b4bb-a8146744bafd@googlegroups.com> NNTP-Posting-Host: lTI7SQCfw79Hc42zyhsJ7w.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: NewsTap/5.1.8 (iPhone/iPod Touch) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:w4iKqgmV02RbgwdivIbWWG11Wk8= Xref: news.eternal-september.org comp.lang.ada:32011 Date: 2016-10-06T11:54:49+01:00 List-Id: Simon Wright wrote: > Lucretia writes: > >> I'm trying to replicate your build of 6.1.0 for mac so I get an >> understanding of the build process on Mac. Problem is, it's >> failing. There must be more than what you are telling going on on your >> platform. > >> 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 replied to this by mail, perhaps you didn't see it. Ive been checking here, I need to change the email address used by google I think. Plus if it's here, it's archived. > I couldn't reproduce the problem; maybe I made some change which is > still there. I don't have any notes about it, but if I did have this > problem I would have started looking in config.log. Yeah I did. > This message comes from gmp/configure:10323. Why it's looking for > /lib/cpp I don't know (/lib doesn't exist); it should be using "g++ -E". Yea, but if you look , it tries two variations of the above then /lib/cpp. Not sure if that's a mac specific thing, I think it is, need to check the actual configure script. If so this needs a patch i think to call xcrun instead, but then I don't know if this is supposed to used apple's cop or the GCC one from the cross compiler you provided. Did you build gmp, mpc, mpfr and isl with apple's tools or with GCC? Did you just link in the firs into the GCC root dir?