- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm stuck in the middle of someone else's mess and am trying to link
code compiled with g++ and DLLs compiled with MSVC++ through a cygwin
environment. This I have discovered isn't going to work as the name mangling
of g++ doesn't match the name mangling of MSVC++.
My next best option is to recompile the DLLs with possibly the intel c++ compiler,
does anyone know if this will get me anywhere further on than I am now ?
Is the name mangling of the intel compiler just set to match MSVC++ and so I
will just end up with the same problem I have now?
Or is it possible to compile the the DLLs so that they can be linked to from g++?
Has anyone ever tried this ?
Thanks for any advice . .
---
jason
I'm stuck in the middle of someone else's mess and am trying to link
code compiled with g++ and DLLs compiled with MSVC++ through a cygwin
environment. This I have discovered isn't going to work as the name mangling
of g++ doesn't match the name mangling of MSVC++.
My next best option is to recompile the DLLs with possibly the intel c++ compiler,
does anyone know if this will get me anywhere further on than I am now ?
Is the name mangling of the intel compiler just set to match MSVC++ and so I
will just end up with the same problem I have now?
Or is it possible to compile the the DLLs so that they can be linked to from g++?
Has anyone ever tried this ?
Thanks for any advice . .
---
jason
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel C++ is documented as compatible with the MSVC version set by the /Qvc switch. The default value is set during installation, to match the Visual Studio you install under. MSVC compatibility includes the name mangling scheme. You can set the /Qvc switch yourself, to make objects to link with a different MSVC version.
It won't be possible to match the g++ name mangling scheme on Windows with Intel C++.
It won't be possible to match the g++ name mangling scheme on Windows with Intel C++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, thanks for your help.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page