[Cegcc-devel] compile error

2007-03-14 Thread Klaus Rechert
Hi, with current SVN i get this error: gcc -c -I/home/klaus/source/bin/cegcc/trunk/cegcc/src/w32api/include -D__arm__ -DARM -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -DUNDER_CE -D_WIN32_WCE -DWINCE_STUB='"arm-wince-cegcc-stub.exe"' -I. -I/home/klaus/source/bin

[Cegcc-devel] cegcc and softfloat

2007-04-11 Thread Klaus Rechert
Hi, i wonder how fpu-calls are handled on WinCE. AFAIK arm cpus do not have FPU units. Cegcc is not compiled with soft-float support, therefore i assume the wince kernel takes care of fpu-emulation. Should not be gcc soft-float support enabled by default, since in general it is faster than ker

Re: [Cegcc-devel] Windows Mobile Emulator under Linux?

2008-03-19 Thread Klaus Rechert
Hi, thanks for your very useful tips! > For WM5 images, the installation step under wine failed (the image > installer is tricky, it needs a virtual network device that also fails > under wine) so I installed properly under real Windows and then copied > the .nb0 files (emulator images) to Linux

Re: [Cegcc-devel] Windows Mobile Emulator under Linux?

2008-03-19 Thread Klaus Rechert
Hi, >> The installation of both WM5 and WM6 images worked fine for me (without > Could you please tell us what files/commands you used to install WM5 > images? It just worked (wine-0.9.46 (ubuntu)) >> Do you have more details on VirtualPC trick ? > I tried two approaches without any success so

[Cegcc-devel] SetSystemPowerState prototype

2008-09-04 Thread Klaus Rechert
Hi, in w32api/winbase.h the prototype looks like WINBASEAPI BOOL WINAPI SetSystemPowerState(BOOL,BOOL); for mobile / ce it should be DWORD SetSystemPowerState(LPCWSTR psState, DWORD StateFlags, DWORD Options); see http://msdn.microsoft.com/en-us/library/aa929708.aspx Cheers Klaus -

[Cegcc-devel] binutils / ubuntu 8.10 compile issues

2008-11-27 Thread Klaus Rechert
Hi, ubuntu's current gcc (version 4.3.2) has some extra warnings, thus compiling binutils (build-cegcc.sh) with -Werror enabled by default fails. Attached is a simple patch making binutils compile. Cheers Klaus Index: binutils/binutils/dlltool.c

[Cegcc-devel] C++ dll / dependencies

2009-06-03 Thread Klaus Rechert
Hi all, I'm trying to create a C++ DLL with the mingw32ce toolchain (v0.55 from SF). But the DLL depends on libstdc++-6.DLL instead of statically linking in the necessary stuff. Is that intended? Second: copying libstd++-6.dll to the device and starting a program results in a "not enough memor

Re: [Cegcc-devel] C++ dll / dependencies

2009-06-03 Thread Klaus Rechert
Hi, >> I'm trying to create a C++ DLL with the mingw32ce toolchain (v0.55 from >> SF). But the DLL depends on libstdc++-6.DLL instead of statically >> linking in the necessary stuff. Is that intended? >> > > If you don't want to link with a DLL, specify -static . Or don't install > the DLL

Re: [Cegcc-devel] getenv/setenv

2009-07-08 Thread Klaus Rechert
Hi, take a look at http://svn.enlightenment.org/svn/e/trunk/PROTO/evil/ There is already an implementation available. Cheers Klaus > Hello, > > what is the model fer getenv/setenv? I tried to set values in > HKCU/env, but does not seem to work... > > the registry is not the best thing