Odd.
Let's start real small.
The attached program, when compiled with arm-mingw32ce-gcc, creates an
executable which is 9175 bytes on my system. You can recreate it, or
download from http://danny.backx.info/download/dialog.exe .
No need to install another DLL, because it uses only the system dll :
dannypc: {24} arm-mingw32ce-objdump -x dialog.exe | grep DLL
vma: Hint Time Forward DLL First
DLL Name: COREDLL
dannypc: {25}
It only pops up a dialog, no funky stuff like file access.
Does it work on your system ? I've just verified it on my iPAQ running
WM 6.0 .
Danny
On Thu, 2008-12-18 at 10:44 +0200, Lachezar Dobrev wrote:
> Dear list members,
> I apologise for the lenghty introduction, please bear with me until the end.
>
> Recently I am exploring various options for developing a
> company-internal application for a mobile hand-held data terminal,
> that will act as a very limited mobile workstation for the
> Road-Warrior employees. These will connect with an in-house developed
> server.
>
> I found out, that finding a good open Java solution is practically
> unfindable, which is bad, since our team is entirely Java oriented, as
> is the back-end server.
>
> I also evaluated Python-CE (http://pythonce.sourceforge.net/), which
> seemed to be a good candidate. However a number of incompatibilities
> with our devices left that in an undecidable state.
>
> I also found out, that 'Embedded Visual C++' was able to produce
> executables for the particular hardware we are expected to use. The
> hardware manufacturer actually provides a 'profile' for the device.
>
> I decided to evaluate cegcc too.
> I am using Ubuntu for testing, downloaded the
> mandriva-cegcc-cegcc-0.51.0.tar.gz, extracted it, added the path
> entries.
> I was able to successfully compile the fibo example (also got the
> mentioned warning).
> The result however was surprising. The executables were different
> (quite) from the ones provided for comparison. Secondly neither these,
> nor the demonstrative ones could be run on the device.
> Well... To be honest I can see, that the sources in the page and the
> attached fibo.c are different in the first place. Also I failed to
> copy the appropriate DLLs to the device. There was also a problem with
> the fact, that I did not have a memory card in the device, and there
> was no 'Compact Flash' device, and I could not create a directory with
> that name.
>
> However!
> Even after I copied the 3 DLLs: cegcc.dll, cegccthrd.dll and
> libstdc++.dll the executables could not run.
> The actual error:
>
> > Fatal Application Error
> > Application f.exe has
> > performed an illegal
> > operation and will be shut
> > down. If the problem
> > persists contact the
> > program vendor.
> >
> > Program: f.exe
> > Exception: 0xC0000005
> > Address: 013AE6B0
>
> The same message (apart from the file name) happens with fibo.exe,
> f_.exe (compiled by me), fibo_.exe (compiled by me). Even the
> exception number and the address are the same.
> The ones I compiled successfully create a file named fibo.txt in
> \Temp, but still crash.
>
> *Hardware*:
> > Mobile Compia (now M3 Mobile) M3 Green
> > Intel ARM920T-PXA27x
> > Microsoft(R) Windows(R) CE Version 5.00
> > http://www.m3mobile.co.kr/en/product/m3green.php
>
> I am pretty new at Windows CE, and I feel seriously frustrated.
> I am a seasoned Java developer, but Java is seriously
> under-supported on this device.
>
>
> Hoping for a brief moment of success at last...
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> 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
typedef unsigned short wchar_t;
typedef wchar_t WCHAR;
typedef const WCHAR* LPCWSTR;
typedef void* HWND;
typedef unsigned int UINT;
int MessageBoxW ( HWND hWnd , LPCWSTR lpText, LPCWSTR lpCaption, UINT uType);
int WinMain()
{
MessageBoxW(0, L"HELLO!", L"H3LLO!", 0);
}
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel