Convert GCC under Cygwin Name Mangling to VC++ Name Mangling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have compiled a .dll file with GCC under Cygwin and I need to access it from
Visual Studio. The problem is the name mangling, VS tries to find a "VS-style"
name and it is different in the DLL. The name in the dll (for the function
FreeLingAnalyzer::initialize(char * *)) is
"__ZN16FreeLingAnalyzer10initializeEPPc" and VS tries to link to
"?initialize@FreeLingAnalyzer@@QAEXPAPAD@Z". Is there a tool to convert or a
way to force GCC to create MS-style names?

Thank you very much


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux