On Tue, 2007-07-03 at 03:14 +0100, Pedro Alves wrote: > > Let me see if I can come up with something in the following days. > > OK, here is my take. See/try attached. > > - It shows that it is possible to have SEH/ARM with a few > macros (to hide the __asm__). > - It shows that is is possible to wrap SEH in c++ exceptions. > - It shows that is can be pretty much cleaned up. :) > - It shows that there is no need to change the entry point.
As I wrote the other day, I have something similar in the works. My
version looks a lot like yours because basically you did now what I did
last week :-)
I also have my version properly integrated in src/mingw so my local
version of arm-wince-mingw32ce-gcc picks this up automatically. That
wasn't hard.
Haven't done that for C++ yet because Kevin's message prompted me to
reveal what I was playing with. I am in the process of figuring out
which C++ constructs this should use, and (depending on that) how the
hook from C++ into the mingw startup should work.
Opinions on how to do this in C++ are welcome, my C++ is still rusty :-)
Pedro appears to have spent more time in the assembler code than I did.
(Thanks, Pedro.) I'll merge this into my version in the coming days.
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
