Hi,

I've received a report that haret does not run on wince 2.1 machines.
I've confirmed that this isn't a linker issue.  The application seems
to crash before calling into WinMain.

Has anyone tested mingw32ce c++ on ce 2.1?

To debug this, I changed my linker line to use "-e WinMain".  The
application will then startup and run for a while.  (It goes on to
crash because some classes aren't initialized correctly, but I've got
logs showing the program does run.)  Without overriding the start
point, the app does not appear to get to WinMain.

Any ideas on what would make the app crash prior to WinMain?  I've
looked through my code with objdump and inspected all the
"__static_initialization" code and there is nothing even remotely
complicated going on.  I do see cegcc adding calls to eh_globals.cc,
but I've got no idea what that does.

I have no issues with the same app my wince 5.0 machine.  My link line
looks like:

/home/kevin/src/vx6700/haret/toolchain-cegcc/bin/arm-wince-mingw32ce-g++ 
-Wl,--major-subsystem-version=2,--minor-subsystem-version=1  ...  -o haret-debug

-Kevin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to