4.1.99 on Solaris

Alex Moore asmoore at edge.net
Sun Mar 26 07:40:21 CEST 2006


I am trying to build 4.1.99 on Solaris.  I need to use Sun's compiler.
I have building previous versions for some time now.  On the previous
versions, I have had to patch libtool for c++, but only on sparcv9.
This is no problem.  Currently I cannot build sparcv8 and this looks
like unrelated to libtool.

Here is the list of environment variables for the first build:
LD_OPTIONS='-R/opt/csw/lib -L/opt/csw/lib'
CFLAGS='-xarch=v8'
CXXFLAGS='-xarch=v8'
CC=/opt/studio/SOS8/SUNWspro/bin/cc
CXX=/opt/studio/SOS8/SUNWspro/bin/CC

Here is my configure statement:
./configure --prefix=/opt/csw --libdir=/opt/csw/lib/sparcv8
--build=sparcv8--solaris2.8 --enable-cxx

Here is the compile error:
 /opt/studio/SOS8/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMPXX -I.. -xarch=v8 -c ismpf.cc  -KPIC -DPIC
-o .libs/ismpf.o
"ismpf.cc", line 55: Error: Could not find a match for
std::use_facet<std::Facet>(const std::locale).
"ismpf.cc", line 67:Error: Could not find a match for
std::use_facet<std::Facet>(const std::locale). 
2 Error(s) detected. 
*** Error code 1 
make: Fatal error: Command failed for target `ismpf.lo'
Current working directory /opt/build/asmoore/gmp-4.1.99/cxx


Help is appreciated,

Alex

-- 


More information about the gmp-discuss mailing list