Re: [Cegcc-devel] using -static

2009-05-16 Thread Johnny Willemsen
Hi, I think I mixed two options at our side. I am retesting with just -static at this moment. Johnny > I am trying to use -static to workaround the exception problem. When I > now > create our own library (ACE), what is the file extension that it should > use? > We have now .a but that doesn't w

[Cegcc-devel] using -static

2009-05-16 Thread Johnny Willemsen
Hi, I am trying to use -static to workaround the exception problem. When I now create our own library (ACE), what is the file extension that it should use? We have now .a but that doesn't work when linking our executable that uses that ACE lib. I can start experimenting, but maybe someone has used

[Cegcc-devel] Controlling architecture on binaries built

2009-05-16 Thread Alex Sims
I'm trying to compile Gosmore using arm-wince-mingw32ce-gcc to run on a low end GPS device with a arm920t processor. For some reason the WinCE 5.0 on the device will not run binaries with armv4 architecture but insists on armv3m architecture. I can compile setting -march=armv3m which works fine

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

2009-05-16 Thread Johnny Willemsen
Hi, > > The question is now what todo. We do support GCC 4.4 with ACE/TAO, so > > upgrading to cegcc with gcc 4.4. will not be a big issue for us. > Seems a > > decision at the side of cegcc which gcc compiler to support. > > I see another question. I've been looking for convincing reasons and >

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

2009-05-16 Thread Danny Backx
On Sat, 2009-05-16 at 15:19 +0200, Johnny Willemsen wrote: > > I have taken up a gcc-trunk copy I took a while ago (two months or so > > before the gcc-4.4 release) and got it to work. > > > > The dynamic version of the libstdc++ DLL works there. > > > > See below. > > The question is now what t

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

2009-05-16 Thread Johnny Willemsen
Hi, > You're going to like this. Yes, I like this ;-) > I have taken up a gcc-trunk copy I took a while ago (two months or so > before the gcc-4.4 release) and got it to work. > > The dynamic version of the libstdc++ DLL works there. > > See below. The question is now what todo. We do support

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

2009-05-16 Thread Danny Backx
You're going to like this. I have taken up a gcc-trunk copy I took a while ago (two months or so before the gcc-4.4 release) and got it to work. The dynamic version of the libstdc++ DLL works there. See below. Danny pavilion: {1086} arm-mingw32ce-g++ -static -g -o excepttest4s.exe exce

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

2009-05-16 Thread Johnny Willemsen
Hi, > > Would the gcc/mingw people have an idea where to search? > > It appears to be a DLL issue : when I compile with -static, the test > program does work (on ARM). > > Johnnym, can you test on x86 ? With x86 also -static resolves the problem. FWIW, mingw gcc 3.4 doesn't have this issue on