This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]