[Coin-discuss] [Cbc] Question about building [Cbc, Clp, etc.] in Visual Studio
Michael Hennebry
hennebry at web.cs.ndsu.nodak.edu
Mon Oct 18 11:36:33 EDT 2010
On Fri, 15 Oct 2010, Lou Hafer wrote:
> The alternative is a module definition (.def) file, which is processed
> by the linker when it assembles the various .obj files into the DLL and
> import library. But there's a problem: everything I've been able to find
> that talks about automated generation of the .def file assumes that
> declarations are decorated with __declspec so that 'dumpbin /exports'
> will work. That's not the case here. Hand maintenance of the .def file
> is not possible in the world of C++, mangled names to handle overloads,
> and libraries that export hundreds of methods. Name mangling is not
> standardised. It comes down to `How to automatically extract the mangled
> names from the .obj files without __declspec?'
There are programs, with names like mangle and demangle,
that will convert between mangled and readable C++ names.
Some of them even take an argument to specify the mangling method.
--
Michael hennebry at web.cs.ndsu.NoDak.edu
"Pessimist: The glass is half empty.
Optimist: The glass is half full.
Engineer: The glass is twice as big as it needs to be."
More information about the Coin-discuss
mailing list