From: John Carter Organization: Dpt Water Affairs & Forestry (IWQS) To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Thu, 30 Mar 1995 12:14:44 +0200 Subject: Linking C to C++ Oh dear, do I have mangle manually? I am using Bison to create a parser for a ecosystem rule based model, Bison creates a C program. Now I want to do most of the hard work in C++. Thus I need to be able to call C++ from C. How do I do it? To call C from C++ I can use 'extern "C" int myCfunc( void)' to shut up the C++ name mangler, but how do I convince GCC C to mangle names? John Carter Institute for Water Quality Studies. Department of Water Affairs. Internet : ece AT dwaf-hri DOT pwv DOT gov DOT za Phone : 27-12-808-0374x194 Fax : 27-12-808-0338