I'm building a WineLib dll in C++ that gets called by a Windows app run by wine. Is there a way to specify how exported function and class names get mangled when compiling with winelib? The Windows app expects MSVC mangled names, so it can't find the exported symbols in my dll, since the names are mangled differently. I'd like to be able to make my dll export the MSVC style names, instead of g++ names.
I think spec files used to provide similar functionality, but not any more...
-Steve