gmp fails to build on Solaris

Dennis Clarke dclarke at blastwave.org
Wed Jul 29 23:04:22 CEST 2009


> On Wed, 29 Jul 2009, Tovrea, George W (US SSA) wrote:
>
>> "../../cxx/ismpf.cc", line 53: Error: Could not find a match for
>> std::use_facet<std::Facet>(const std::locale).
>> "../../cxx/ismpf.cc", line 65: Error: Could not find a match for
>> std::use_facet<std::Facet>(const std::locale).
>
> With sunpro and C++, you need to use -library=stlport4 (or some other
> implementation of the standard library), because the default Cstd is quite
> broken. If you really need to use gmpxx with Cstd, you can find
> appropriate patches in the archives of this list (or maybe gmp-discuss).

Based on extensive testing, I can tell you that you won't get a decent
result with Sun Studio. Save yourself the head ache.

-- 
Dennis Clarke



More information about the gmp-bugs mailing list