[Cegcc-devel] Singletons and DLL question

2009-05-14 Thread Johnny Willemsen
Hi, We have in ACE a Singleton template that is implemented in a C++ template with a static member. We are now using a test program that is linked with the ACE dll and checks this singleton pointer. The program uses another dll that also uses ACE, but there the singleton pointer is different, so

[Cegcc-devel] Supporting structured exception handling?

2009-05-14 Thread Johnny Willemsen
Hi, I just found that structured exception handling (__try, __except, __finally) is not supported with cegcc. Are there plans/ideas to add this? Johnny See for example http://msdn.microsoft.com/en-us/library/ms924251.aspx http://code-factor.blogspot.com/2007/04/windows-ce-seh-for-arm-with-gcc.ht

[Cegcc-devel] Disabling the application crashed message box

2009-05-14 Thread Johnny Willemsen
Hi, When an application crashes on CE we see a nice dialog saying that the application has unexpected behavior. On regular windows we disable all message boxes as below. I haven't found a way todo the same with CE, anyone an idea to get rid of that message box? Johnny _CrtSetReportMode

[Cegcc-devel] Problem with C++ exceptions?

2009-05-14 Thread Johnny Willemsen
Hi, Are there any known problems with C++ exceptions? We have a test that throws a C++ exception which we catch higher up in the call chain. We now see with CEGCC x86 the following output. Johnny \network\temp\ACE_wrappers\tests> Reactor_Exceptions_Test Reactor_Exceptions_Test terminate call

Re: [Cegcc-devel] Supporting structured exception handling?

2009-05-14 Thread Danny Backx
On Thu, 2009-05-14 at 20:44 +0200, Johnny Willemsen wrote: > Hi, > > I just found that structured exception handling (__try, __except, __finally) > is not supported with cegcc. Are there plans/ideas to add this? > > Johnny > > See for example > http://msdn.microsoft.com/en-us/library/ms924251.as

[Cegcc-devel] Running CeGCC on MSYS

2009-05-14 Thread Geoffroy Couprie
Hello! Here is a small patch to allow cross-compiling of CeGCC. I run "build-mingw32ce.sh --host=i586-mingw32msvc" from Linux to build a CeGCC usable on Windows (I use it under MSYS). gcc, g++, objdump, strings, strip look like they work without problem, but I encountered a strange problem with ar

Re: [Cegcc-devel] Running CeGCC on MSYS

2009-05-14 Thread Danny Backx
So you are using 3 platforms, where most of us are talking about 2 : - Linux = create a compiler that runs on MSYS - MSYS = use cegcc (create WinCE/ARM apps) - WinCE/ARM = use applications Right ? So what is preventing you from skipping the first platform ? If I get it right, that is the reason f

Re: [Cegcc-devel] Running CeGCC on MSYS

2009-05-14 Thread Vincent Torri
On Fri, 15 May 2009, Danny Backx wrote: > So you are using 3 platforms, where most of us are talking about 2 : > - Linux = create a compiler that runs on MSYS > - MSYS = use cegcc (create WinCE/ARM apps) > - WinCE/ARM = use applications > > Right ? > > So what is preventing you from skipping the