Jacek M. Holeczek wrote: > Hi, > for the last few days, I've been trying to port a nice utility to > mignw32ce. In principle I think I am ready to try it ... unfortunately, > the regsrv on my WinCE PNA says "GetLastError returns c1". I have no > precise data on what this error means, but I suspect it is > "ERROR_BAD_EXE_FORMAT", which in turn means that it cannot link to system > libraries. I might have found the reason ... > The objdump shows two DLL Names in the Import Tables: "AYGSHELL" and > "COREDLL" ... note ... NO ".DLL" file name extensions! Such libraries do > not exist, of course! > Here is how I create my dll: > arm-wince-mingw32ce-g++ -c -o ids.armobj ids.cpp > arm-wince-mingw32ce-g++ -c -o startkey.armobj startkey.cpp > arm-wince-mingw32ce-g++ -shared -o eurokbd.dll eurokbd.armobj > ids.armobj eurokbd.def -laygshell -luuid > > Could you, please, tell me how to get it working?
Confirm that is the real problem by hacking src/w32api/libce/${coredll.def|aygshell.def}, to add the .dll extension to the "LIBRARY" lines. Rebuild/install the w32api component. Either manually of using build-mingw32ce.sh. Use --help for options. Preferably, do this against a svn snapshot. If you don't want to download the whole thing, you can use svn facilities to just download the directories you want. Cheers, Pedro Alves ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel