Re: [Cegcc-devel] mingw c app works, c++ doesnt

2007-05-27 Thread Danny Backx
I feel that I have not produced a good RPM in a while so the reason I'm jumping to that is my own feeling, not a misunderstood hint from you :-) The good news is that my build just worked. It doesn't contain my coverage patch, that's been sitting on my disk for entirely too long. But it does conta

Re: [Cegcc-devel] mingw c app works, c++ doesnt

2007-05-27 Thread Pedro Alves
Danny Backx wrote: > Apparently there was no libstdc++ DLL in there. > > I'm trying to rebuild a new RPM but this takes some effort. > Oh, I was not implying there should be one. I'm still divided on this aspect :) Looks like by gcc-4.3 there will be proper support for building libstdc++.dll a

Re: [Cegcc-devel] mingw c app works, c++ doesnt

2007-05-27 Thread Danny Backx
Apparently there was no libstdc++ DLL in there. I'm trying to rebuild a new RPM but this takes some effort. Danny On Sat, 2007-05-26 at 22:08 +0100, Pedro Alves wrote: > stan lee wrote: > > > > Another follow up question, How do i compile the > > program so that i only have to copy the

Re: [Cegcc-devel] mingw c app works, c++ doesnt

2007-05-26 Thread Pedro Alves
stan lee wrote: > > Another follow up question, How do i compile the > program so that i only have to copy the exe and not > dll? > Danny, did your rpm come with libstdc++ built as dll for mingw32ce? In any case, passing -static to gcc should give you what you want. Cheers, Pedro Alves -

Re: [Cegcc-devel] mingw c app works, c++ doesnt

2007-05-23 Thread stan lee
Hi Pedro, I compile using mingw32ce. Im using mingw32ce-0.10.0.20070208-cygwin.tar.gz for the headers and libraries and cegcc-0.10-1.i586.rpm for the binaries. I tried Danny's suggestion on the DLL. I have wrongfully used the libstdc++.dll of cegcc-0.10.0.20070208-cygwin.tar.gz because min

Re: [Cegcc-devel] mingw c app works, c++ doesnt

2007-05-23 Thread Pedro Alves
(sorry if this is a repost) Hi Stan, stan lee wrote: > my hello world c program for pocketpc runs correctly > when compiled with gcc but when i try to add a simple > c++ class and compile it with g++, it doesnt seem to > run when executed (although the compilation didnt show > any warnings). am i

Re: [Cegcc-devel] mingw c app works, c++ doesnt

2007-05-22 Thread Danny Backx
I've occasionally noticed problems due to DLL differences, I'm not sure what the cause is. I don't think this is C++ related. I had an old version of test/Cplusplus/draw.exe on my system. That didn't run. I recompiled it and it does. I'll E-mail the executable in a private message so I won't bothe