On Apr 12, 2000, Michael Bletzinger <[EMAIL PROTECTED]> wrote: > I've had some success linking C++ libraries into C using gcc 2.8.1 and > some of the egcs snapshots on solaris. Now add a proprietary C++ compiler to the picture :-) > If you don't want to use libstdc++ then you need to eliminate all > calls to it including the "<<" and ">>" operators. I don't think this is enough. If libstdc++ is shared and you link with it, cin, cout and cerr will be initialized. > Another option you might to try is listing libstdc++.a as an object > when you are creating your library. This may work, as long as you don't pull cin, cout and cerr, nor any other global variables. -- Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/ Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com Free Software Developer and Evangelist CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me
- 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 libltdl 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 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
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Kevin Atkinson
- Re: 2nd Try: Shared libraries w/ C++ and libltdl Ossama Othman
- 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