Laszlo (Laca) Peter wrote:
> A question for LSARC regarding these libs:
> 
> Given that these are c++ libs, is it acceptable to ship
> duplicate copies built with g++ (/usr/sfw/bin/g++) and if
> so, where should they be installed?
> 
> Why would that be useful?  For building gtkmm-based
> applications that are difficult (to say the least) to
> compile with Sun Studio.  An example of such an app is
> the Inkscape SVG editor.  Inkscape builds fine with
> /usr/sfw/bin/g++, but I was unable to get it built with
> Sun Studio CC even with the help of the author.  The
> Inkscape codebase is complex and uses lots of template
> code.  When we fixed an error reported by Sun Studio,
> the new code failed with g++.  Obviously, one of the
> compilers is wrong, but it's also clear that fixing
> the one that is wrong will require breaking its
> compatibility.  Shipping a g++-built copy of these
> libs would enable us to build Inkscape without major
> effort and code changes that cannot be pushed upstream
> and would potentially allow customers to build other
> gtkmm-based apps (Gobby?  GParted? MySQL Administrator?)
> that may be difficult to build with Sun Studio.
> 
> Thanks,
> Laca
> 


I suggest that we need a minimum of four directories:
(32, 64) x (gcc, studio). We should noodle out a design
(perhaps w/ help from the linker folks) that will find
the appropriate version of the C++ libraries needed.

- Bart


-- 
Bart Smaalders                  Solaris Kernel Performance
barts at cyber.eng.sun.com              http://blogs.sun.com/barts

Reply via email to