gmp refuses to build c++ headers

John Perry John.Perry at usm.edu
Tue Aug 4 20:54:16 UTC 2020


I’m sorry; I know better than that. This is GMP 6.2.0, compiling on MacOS 10.15.

john perry

> On Aug 4, 2020, at 3:33 PM, Torbjörn Granlund <tg at gmplib.org> wrote:
> 
> John Perry <John.Perry at usm.edu> writes:
> 
>  When trying to compile gmp with c++ headers, I get the following output:
> 
>     libtool: link: ranlib .libs/libgmpxx.a
>     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>  file: .libs/libgmpxx.a(dummy.o) has no symbols
>     libtool: link: ( cd ".libs" && rm -f "libgmpxx.la" && ln -s "../libgmpxx.la" "libgmpxx.la” )
>     make[2]: *** No rule to make target `gmpxx.h', needed by `all-am'.  Stop.
>     make[1]: *** [all-recursive] Error 1
>     make: *** [all] Error 2
> 
>  I configured using this command:
> 
>     ./configure CC=clang CXX=clang++ --enable-cxx
> 
>  What am I doing wrong?
> 
> You leave much of what you do for us to guess.  You might get help if
> you spell out what you do, the GMP version, your platform, etc.
> 
> -- 
> Torbjörn
> Please encrypt, key id 0xC8601622



More information about the gmp-discuss mailing list