Re: [Mingw-users] mingwm10.dll
- Date: Mon, 12 Feb 2007 03:37:34 -0800
- From: Brian Dessent <brian@xxxxxxxxxxx>
- Subject: Re: [Mingw-users] mingwm10.dll
???????? ?????????? wrote:
> As MS will want to maintain compatibility with old versions of programs
> comipled with their own tools, they will probably keep the various
> mechanisms in `msvcr*.dll' as they are. You think it is possible to use
> whatever mechanism the MS tools use? In the end, MS-win shouldn't be
> able to tell which program is MS-compiled and which is not.
>
> Some reverse-engineering will be required.
The problem is that Microsoft's compiler and gcc use totally different
mechanisms for C++ exception handling/unwinding. MS uses SEH, whereas
gcc uses SJLJ or Dwarf2, depending on how it's built. So I'm pretty
sure it's not possible to utilize whatever kind of hooks exist in MS's
runtime for this purpose, unless somebody contributes SEH code to gcc.
That has been discussed in the past on the gcc list but nothing ever
came of it, as far as I know. And even if gcc could emit SEH code, it
still may not be possible to utilize anything from the Microsoft runtime
because the two compilers have very different C++ ABIs.
Brian
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users