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
mingw32ce-0.10.0.20070208-cygwin.tar.gz didnt have
that dll. However, cegcc-0.10-1.i586.rpm has that in
mingwce32's lib folder. I tried it and the program now
runs correctly. Thanks. :)
Another follow up question, How do i compile the
program so that i only have to copy the exe and not
dll?
Cheers,
Charles
--- Pedro Alves <[EMAIL PROTECTED]> wrote:
> (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 missing something? im kinda
> new to wince.
>
> Are you using cegcc or mingw32ce ? Which version?
> Self Compiled?
> What is your host platform? Windows? Linux? i386?
> Other?
>
> If using cegcc, perhaps you forgot to copy
> libstdc++.dll to the device.
> If using mingw32ce, c++ and -mthreads, perhaps you
> forgot to copy
> mingwm10.dll to the device.
>
> You can check the direct dependencies of a dll with
> something like:
> arm-wince-mingw32ce-objdump -x main.exe | grep DLL
> arm-wince-mingw32ce-objdump -x cegcc.dll | grep DLL
>
> If this doesn't help, please post the code you are
> trying
> and the commands you are using to build it.
>
> Cheers,
> Pedro Alves
>
>
>
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/
-------------------------------------------------------------------------
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