[OpenIndiana-discuss] SunStudio
Apostolos Syropoulos
asyropoulos at yahoo.com
Thu Nov 18 14:08:06 UTC 2010
> I wouldn't entirely trust the comments in signal.h to be correct.
>They *might* be, but they might not. G++'s opinion of C++ is not guaranteed
>to be correct. Sun Studio also keeps supporting old cruddy versions of C++ and
>the C++ STL, and that's *probably* what's biting you here.
First of all, I added the comments so it is not an opinion expressed by the GCC
people.
Maybe you are right about my problem, but instead of wrestling with something
that
in most cases fails, I tried to recompile libsigc++, glibmm and gtkmm with g++
and
then to try build bombono-dvd-0.8.1.
> CC -compat=5 -norunpath -features=zla -xannotate=no
I am sorry to say this, but this makes absolutely no sense to me.
> I think -compat=5 is the important one. zla means allow (illegal?) zero-length
>arrays,
>
>but I didn't see that in the manpage. The xannotate thing is to avoid a snafu
>in the
>
>OpenSolaris ld.
Somewhere I have read that OSOL ld is buggy too ;-)
> So one question is why JDS builds the GNOME C++ libraries with these flags.
Because they insisted on building it with Sun Studio :-) Back in 2003-2004 I
built
Gnome with gcc and there are absolutely no problem.
A.S.
----------------------
Apostolos Syropoulos
Xanthi, Greece
More information about the OpenIndiana-discuss
mailing list