[OpenIndiana-discuss] SunStudio

Apostolos Syropoulos asyropoulos at yahoo.com
Tue Nov 23 17:41:56 UTC 2010


> > 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
> 
> That's insane! :-)
 
Hello again,

I have finally managed to compile all these libraries using g++-4.5.1. And in 
the
end I successfully compiled bombono-dvd. However, I discovered that the
development GCC compiler that once was available from the OpenSolaris 
repository was actually misconfigured. Since I was expecting that the
people who created the package new what they did, I simply copied
their configuration options. Then I discovered that it was impossible
to compile a few files. I found out that the definition of a symbol was
responsible for this. By commenting out the symbol, the files compiled
just fine. In the end, I realized what caused the problem. At any rate,
here are the options I have chosen to compile GCC:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i386-pc-solaris2.11/4.5.1/lto-wrapper
Target: i386-pc-solaris2.11
Έχει ρυθμιστεί με: ../gcc-4.5.1/configure --prefix=/usr --program-suffix=-4.5.1 
--infodir=/usr/share/info --mandir=/usr/share/man --libexecdir=/usr/lib 
--enable-shared --disable-static --disable-libtool-lock --target= 
--enable-objc-gc --disable-libada --enable-libssp 
--enable-languages=c,c++,objc,fortran,java --enable-threads=posix 
--enable-tls=yes --with-system-zlib --without-gnu-ld --with-ld=/usr/ccs/bin/ld 
--with-gnu-as --with-as=/usr/sfw/bin/gas --with-gmp-lib=/usr/lib 
--with-mpfr-lib=/usr/lib --enable-c99 --enable-nls --enable-wchar_t 
--enable-libstdcxx-allocator=mt --with-pic --enable-multilib
Μοντέλο νημάτων: posix
gcc version 4.5.1 (GCC) 

A.S.

----------------------
Apostolos Syropoulos
Xanthi, Greece



      



More information about the OpenIndiana-discuss mailing list