[Cegcc-devel] WinCE Exception handling support in gcc

2007-07-23 Thread Danny Backx
Guys, I've been digging in gcc internals and succeeded in implementing stuff that allows us to write code such as int main(int argc, char *argv[]) __attribute__((__exception_handler__(handler))); to indicate that handler is the exception handler for function main. The patc

Re: [Cegcc-devel] Building pthread.

2007-07-23 Thread Leonardo Weiss Chaves
Hi Pedro, thanks for the hints, I got libpthread compiling now. Since __MINGW32__ is defined, the code assumes some things that are not true for WinCE, e.g. like having errno. Instead of modifying mingw32ce now I just modify the pthread-w32-2.8.0 code and add a few more compiler flags, see the

Re: [Cegcc-devel] Building pthread.

2007-07-23 Thread Danny Backx
On Mon, 2007-07-23 at 12:25 -0700, Leonardo Weiss Chaves wrote: > Hi Pedro, > > thanks for the hints, I got libpthread compiling now. Since __MINGW32__ is > defined, the code assumes some things that are not true for WinCE, e.g. like > having errno. Instead of modifying mingw32ce now I just modi