Hi Marc

On Nov 28, 2007 6:33 PM, Marc Glisse <marc.glisse at gmail.com> wrote:
> Are you trying to compile gmp with sun studio and --enable-cxx? Even if you 
> manage (there were patches on the gmp mailing list after 4.2.1 came out), 
> there is no point, it won't pass make check because of bugs in the compiler 
> that have not been fixed yet. What software do you need that requires gmpxx 
> and not only gmp? And if you only need gmp, then there is no issue compiling 
> it with gcc, which gives better performance (the optimized version of the gmp 
> code is enabled only for gcc because it uses inline assembly that sun studio 
> cannot understand (yet)).


Premise: I'm working on GNU MP 4.2.2, use Sun Studio 12 with latest patches.

Yes, I'm trying compile gmp with --enable-cxx. Gmp (both gmp and
gmpxx) is one of pieces of our KDE4 effort. I don't use gcc, because
there is some C++ ABI incompatibility against Sun C.

I do not use standard libCstd from Sun Studio. I have build Apache
RogueWave (Stdcxx) myself. All C++ I'm trying link to Stdcxx not to
libCstd.

Current status:  gmp > compile fine, build fine. libgmp.so library is
fine and old test are passed OK.
                        gmpxx > compile fine, build fine static
library OK, for shared library final link to stdcxx (libtool) doesn't
work, but it's my unfamiliarity with this type of build. I'm working
on fix.

When I will be done, I will post spec files in svn repository.



-- 
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode


When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
  Dale Carnegie

Reply via email to