Re: [Cegcc-devel] 64-bit unsigned integer multiplication

2009-08-08 Thread Matthew Kille
Hi All, Update: Now have a working copy SVN revision 1353 compiler to use. The uint64 multiplication problem mentioned seems to have gone away now. Will report if I have any further trouble. Cheers, -- Matt. Matthew Kille wrote: > Hi All, > > I'm seeing some problems with

[Cegcc-devel] 64-bit unsigned integer multiplication

2009-08-07 Thread Matthew Kille
Hi All, I'm seeing some problems with 64-bit integer multiplication when using the optimiser. Can somebody confirm whether there are any known problems? I have created a minimal test program to hopefully demonstrate the issue, (see attached). The program does the same multiply twice; first t

[Cegcc-devel] winbase.h thread priority defines (patch)

2007-11-14 Thread Matthew Kille
Hi Guys, We've noticed there is some difference between thread priority defines in cegcc's winbase.h header compared to the MS WinCE SDK version. This had a significant impact on the apparent performance of our software where new threads were being created using the win32 values. Here's the su

Re: [Cegcc-devel] Automatic dummy WinMain

2007-09-11 Thread Matthew Kille
Hi Pedro, > From what I remember the last time we were looking into Winmain, msvc > doesn't parse and fill __argc/__argv with real values unless you use the > mainCRTStartup -> main entry point. > Which means that your WinMain will always return 0 - if it builds. Does > it build with MSVC? I wa

Re: [Cegcc-devel] Automatic dummy WinMain

2007-09-10 Thread Matthew Kille
Hi Kevin, > A ".a" file is composed of a set of ".o" files. When linking with a > ".a" library, the linker will only pull in those ".o" files that > resolve an outstanding symbol. So, if the linker doesn't have WinMain > outstanding, it shouldn't try to pull in winmain_ce.o. Many thanks for ans

[Cegcc-devel] Automatic dummy WinMain

2007-09-10 Thread Matthew Kille
Hi All, (Using mingw32ce toolchain, revision 1049 I believe.) Can someone help explain to me the mechanisms behind how the 'dummy WinMain' function (in winmain_ce.c) is conditionally linked into the output binary if the developer doesn't provide his own WinMain() function? My problem is that I

[Cegcc-devel] Using GAPI

2006-11-07 Thread Matthew Kille
Hi All, I'm trying to build a GAPI application using cegcc. As there doesn't seem to be a import library ready made for this, I have attempting to make one, but without much success. My gx.def file looks like this: LIBRARY GX EXPORTS GXOpenDisplay GXCloseDisplay GXBeginDraw G