Kevin Atkinson wrote:
> Because libstdc++ is compiled ONLY as a static library.  When I tried
> creating a C++ shared library it tried to put the static library into the
> shared library which failed miserably as the code does was not compiled
> with PIC support.  At least that is what I think happened.
> 

At least on solaris and linux if you build gcc with the --enable-shared
flag then all of the run-time libraries will be built as shared and
static.  This flag is disabled by default.

        Michael
-- 
------------------------------------------------------------------
Michael Bletzinger      Software Developer, Alliance Computational
[EMAIL PROTECTED]  Environment & Security
217 265 5137            NCSA

Reply via email to