This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Using DLLs created with different compilers
- From: "Singh, Diwakar V" <diwakar dot v dot singh at intel dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Fri, 7 Mar 2003 15:23:06 -0700
- Subject: Using DLLs created with different compilers
I have two different libraries - one compiled with GCC and another with
a different, old compiler in Unix environment. Both these have C++
classes defined in them. When I link these libraries to an application
program that I created, I get a link error. This is because the name
mangling scheme used by GCC is different from that used by the other
compiler. Is there any option available to set the name mangling scheme/
not enable the name mangling?
Thanks
Diwakar