arm-wince-pe, is this the list? (-target=win doesn't call __gccmain)

"pedrompalves" <[email protected]> Tue, 16 Aug 2005 13:52:10 -0000
Newsgroups gmane.comp.windows.ce.freeware
Message-ID <[email protected]>
Hi all!
I am new to this list.
My name is Pedro Alves.

I am porting trolltech's Qt4 to Pocket PC 2003 using arm-wince-pe from
mamath's website with all the updates.

I have some of the examples bundled with Qt running correctly,
but some were failling with weird errors.
I tracked it to the global c++ constructors not being called.
So I put a call to __gccmain() in WinMain, and all goes fine.

I have made a small test app (doesn't depend on Qt) to show the
problem. Can't post it now, cause I don't have it here (I'm at work,
and I have it at home), but I can post it latter if required.

I guess I am missing some command line switches, or I have to link in
some library.

Is this a known problem?

Thanks for the attention,
Pedro Alves

P.S. I am in no way affiliated with Trolltech





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hudslfs/M=362131.6882499.7825260.1510227/D=groups/S=1707281942:TM/Y=YAHOO/EXP=1124207593/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->