C++ exception problems in mingw cross compiler
Toralf Lund
toralf@procaptura.com
Tue Sep 19 09:26:00 GMT 2006
>> After testing some more, I've concluded that the problem only occurs
>> when the application (or possibly another DLL) tries to catch an
>> exception thrown by a DLL. Based on info on the Web, it seems like this
>> isn't entirely unexpected. I'm not quite able to find a good workaround,
>> though. Any help would (still) be appreciated.
>>
>
> The mingw gcc sources contain patches to fix this and other things. If
> you are using vanilla FSF sources then you are probably lacking them.
> Try building your toolchain with the gcc sources from mingw.org, as
> exceptions across DLLs should work fine (assuming you are using SJLJ and
> not DW2 -- if that is the case all bets are off as to things working.)
>
Right. What did not seem clear after in the discussions about this
problem, was whether I needed a patch or just special build options, or
both... Thanks for clarifying.
I'm still not 100% happy, though (some people are just never satisfied
;-/), as I'd very much prefer to have patches as, well, just patches -
instead of updated source trees. Do you happen to know if the changes
are available in patch file form anywhere? I haven't been able to find
anything on the MinGW sourceforge sites - but I'll keep looking...
- Toralf
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list