comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: to Simon Wright, re Mac OS X builds
Date: Thu, 06 Oct 2016 17:30:14 +0100
Date: 2016-10-06T17:30:14+01:00	[thread overview]
Message-ID: <ly7f9l30fd.fsf@pushface.org> (raw)
In-Reply-To: 1591021727.497443716.927203.laguest-archeia.com@nntp.aioe.org

Luke A. Guest <laguest@archeia.com> writes:

> Simon Wright <simon@pushface.org> wrote:
>> Lucretia <laguest9000@googlemail.com> 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 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.

The GMP 5.1.3 config seems not to want to use C++, and it's disabled
unless you say --enable-cxx; and I doubt that's done if gmp is linked
into the top-level GCC directory.

> 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?

I've always (since I read that it was possible) linked the maths
packages into the top-level GCC directory and let GCC build them.

   gmp-5.1.3
   mpc-1.0.2
   mpfr-3.1.2


  reply	other threads:[~2016-10-06 16:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 15:14 to Simon Wright, re Mac OS X builds Lucretia
2016-10-06  7:57 ` Simon Wright
2016-10-06 10:54   ` Luke A. Guest
2016-10-06 16:30     ` Simon Wright [this message]
2016-10-06 16:41       ` Lucretia
2016-10-06 19:15         ` Simon Wright
2016-10-06 16:51       ` Lucretia
2016-10-06 19:09         ` Simon Wright
2016-10-06 14:38   ` Luke A. Guest
2016-10-06 16:23   ` Lucretia
2016-10-06 16:26   ` Lucretia
2016-10-06 16:29     ` Lucretia
2016-10-06 16:54       ` Simon Wright
2016-10-06 17:14         ` Lucretia
2016-10-06 18:13           ` Lucretia
2016-10-06 19:08             ` Simon Wright
2016-10-06 19:29               ` Lucretia
2016-10-06 22:16                 ` Lucretia
2016-10-07  7:26                   ` Simon Wright
2016-10-07  9:24                     ` Luke A. Guest
2016-10-07 13:20                       ` Simon Wright
2016-10-08 11:28                       ` Lucretia
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox