gmp refuses to build c++ headers
John.Perry at usm.edu
Wed Aug 5 21:57:01 UTC 2020
Thank you for pointing out that oversight. The compiler version reports:
Apple clang version 11.0.3 (clang-1220.127.116.11)
Thread model: posix
If it matters, I can also indicate:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
This program built for i386-apple-darwin11.3.0
However, deleting the directory, then re-extracting, seems to have fixed the problem. I’ve tried to reproduce it several times since, to no avail.
> On Aug 5, 2020, at 3:28 AM, Hans Åberg <haberg-1 at telia.com> wrote:
>> On 5 Aug 2020, at 09:41, Emmanuel Thomé <emmanuel.thome at gmail.com> wrote:
>> My gmp-6.2.0, on MacOS 10.15, compiles fine with the configure command
>> line you provided.
>> Exactly as you said: I downloaded the file from GMP’s website,
>> unpacked it, changed to the directory, then:
>> ./configure CC=clang CXX=clang++ --enable-cxx
> There is an ambiguity here, as we do not get to know which clang: In the original installation, it and gcc both point to the Apple inhouse version of clang.
> The report should also have given the result of 'clang --version'.
More information about the gmp-discuss