This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Any resources on linking c++ with c
- To: gcc-help at gcc dot gnu dot org
- Subject: Any resources on linking c++ with c
- From: Vishal Chanchalani <gccmailinglistid at yahoo dot com>
- Date: Mon, 27 Aug 2001 23:00:50 -0700 (PDT)
Hi,
This is just to ask if there are any resources
available, so that one can write a library in c++,
which can be linked in c programs. The difficulty that
i am facing is about name mangling. If i compile the
library using gcc, and then try linking the library
through sun compiler, there are some issues with name
mangling where __builtin_delete and __builtin_new and
a few more are undefined.
Is there any way to avoid this ?
Or am i missing some compiler flags ?
Thanks and regards...
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/