From: <AWL...@ao...> - 2003-05-29 21:46:26
|
Hi, Has anyone done some work on, or know of a faq for, or something, for linking against msvc mangled names from GCC? Specifically, I am attempting to get the DX9 sdk working with MinGW. I am trying to get GCC-generated .o's compiled against the proper DX SDK headers link to the official DX9 .lib's (as some of them seem to be more than just simple dll import things). The trouble I am having is the difference in name mangling/decoration, and I may have ABI troubles afterwards. It seems reasonable to me to assume that GCC and MSVC have a similar ABI, based on what I have read in the MSVC docs.. Can anyone give me some pointers on making this linkage work (mangling conversion, ABI conversion, whatever)? Has anyone done this before? If so/if not, any starting points, and any idea how much work it would be? Aaron |