This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

shared libraries & exceptions


I understand that there's no reason to expect a C++ shared library
to work right in a program whose a.out wasn't built with the same 
C++ compiler that built the library.

Still, people often want to call exported C functions in C++ libraries 
from (what are nominally) C programs.  Is there any supported way to 
explicitly initialize the g++ runtime machinery, in gcc-2 and/or in 
gcc-3, e.g. by calling some reserved identifier at library-load time?  
(I wouldn't expect the solution to be the same for gcc-2 and gcc-3.)

Nathan Myers
ncm-nospam@cantrip.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]