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
- 2nd Try: Shared libraries w/ C++ and libltdl Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Bob Friesenhahn
- Re: 2nd Try: Shared libraries w/ C++ and liblt... Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and liblt... Bob Friesenhahn
- Re: 2nd Try: Shared libraries w/ C++ and liblt... Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Ossama Othman
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Michael Bletzinger
- Re: 2nd Try: Shared libraries w/ C++ and liblt... Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Ossama Othman
- Re: 2nd Try: Shared libraries w/ C++ and liblt... Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Alexandre Oliva
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Alexandre Oliva
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Alexandre Oliva
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Michael Bletzinger
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Alexandre Oliva
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Kevin Atkinson
