On Thu, 2007-06-07 at 16:58 -0700, stan lee wrote:
>   Sorry i forgot to mention i was building for
> mingw32ce. I was also wondering about the filesize.
> Why do i get a 1MB binary?

Because cegcc comes with more DLLs than mingw32ce. (Edited output of a
find command below.)
543232 Jun  7 21:58 /opt/cegcc/arm-wince-cegcc/lib/device/cegcc.dll
  8192 Jun  2 16:08 /opt/cegcc/arm-wince-cegcc/lib/device/cegccthrd.dll
551936 Jun  2 16:08 /opt/cegcc/arm-wince-cegcc/lib/device/libstdc++.dll
 11323 Jun  2 15:24 /opt/mingw32ce/arm-wince-mingw32ce/bin/mingwm10.dll

> I am using
> cegcc-mingw32ce-0.14-1.i586.rpm which I got from your
> site (the one in sourceforge is outdated and I couldnt
> properly build cegcc from source).

I've had no negative reactions on the RPMs on my site, so maybe I better
put them on SF.

Pedro, the version number on these things is not something we've argued
about. Any objection to just copying the stuff currently on my personal
site to SF ?

        Danny

> Cheers,
> Stan
> 
> --- Danny Backx <[EMAIL PROTECTED]> wrote:
> 
> > You fail to mention which compiler you use.
> > 
> > The source below works fine for me without change
> > with arm-wince-cegcc-g
> > ++, but fails (always displays 0) when using
> > arm-wince-mingw32ce-g++ .
> > 
> > Also in the latter case, the executable is 1MB. The
> > cegcc executable is
> > only 55K.
> > 
> >     Danny
> > 
> > On Wed, 2007-06-06 at 20:36 -0700, stan lee wrote:
> > > Hi,
> > > 
> > >   Just a follow up. I noticed that if i pass a
> > value
> > > by reference in the time(), the number of seconds
> > gets
> > > correctly saved in it. 
> > > 
> > > Cheers,
> > > Stan
> > > 
> > > --- stan lee <[EMAIL PROTECTED]> wrote:
> > > 
> > > > Hi,
> > > > 
> > > > Is the time function still incomplete? The value
> > I
> > > > always get is zero even though the system time
> > in my
> > > > device is set correctly.
> > > > 
> > > > Here is my simple program that converts the
> > value
> > > > returned by time to widechar and prints it in a
> > > > messagebox:
> > > > 
> > > > #include <windows.h>
> > > > #include <sstream>
> > > > 
> > > > int WinMain(HINSTANCE hInstance, HINSTANCE
> > > > hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
> > > > {
> > > >   
> > > >         std::stringstream ss;
> > > >         std::string str;
> > > >         ss << time(NULL);
> > > >         ss >> str;
> > > > 
> > > >         char* myStr=new char[100];
> > > >         strcpy(myStr,str.c_str());
> > > >         int length = strlen(myStr)+1;
> > > >         WCHAR* myWide = new WCHAR[length];
> > > >        
> > > >
> > >
> >
> MultiByteToWideChar(CP_ACP,0,myStr,-1,myWide,length);
> > > > 
> > > >         MessageBoxW(0, myWide, L"H3LLO!", 0);
> > > >         delete myWide;
> > > >         delete myStr;
> > > >         return 0;
> > > > }
> > > > 
> > > > Cheers,
> > > > Stan
> > > > 
> > > > 
> > > >      
> > > >
> > >
> >
> ____________________________________________________________________________________
> > > > 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
> > > > Cegcc-devel@lists.sourceforge.net
> > > >
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> > > > 
> > > 
> > > 
> > > 
> > >        
> > >
> >
> ____________________________________________________________________________________
> > > Take the Internet to Go: Yahoo!Go puts the
> > Internet in your pocket: mail, news, photos & more. 
> > > http://mobile.yahoo.com/go?refer=1GNXIC
> > > 
> > >
> >
> -------------------------------------------------------------------------
> > > 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
> > > Cegcc-devel@lists.sourceforge.net
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> > -- 
> > Danny Backx ; danny.backx - at - scarlet.be ;
> > http://danny.backx.info
> > 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
> Sims Stories at Yahoo! Games.
> http://sims.yahoo.com/  
> 
> -------------------------------------------------------------------------
> 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
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
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
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to