Hi Pascal, On Mon, Sep 03, 2007 at 09:14:35AM +0200, [EMAIL PROTECTED] wrote: > Hi, > > I am developping a chess database application for Pocket PC > (http://prolinux.free.fr/scid/PPC.html), and I appreciate a lot to be able to > do > it under Linux and that cegcc provides an Unix layer. > > I have noticed some WinCE calls are only present in header files, not in dll > files provided by cegcc. For example HeapCompact and CreateToolhelp32Snapshot, > so those symbols can not be resolved at compile time (as a grep through dll > files shows they are not present, I find this normal). > Does it mean those will be included in a later cegcc release or is there > something special that has to be done to get it compile ?
The HaRET application used to link in the toolhelp library. If you'd like to see how it was done, check out haret from CVS using the directions at: http://www.handhelds.org/moin/moin.cgi/HaRET and then checkout the tag "haret-0_4_4". The Makefile and the file src/wince/toolhelp.def is what allowed us to call CreateToolhelp32Snapshot. Note, that later versions of haret can still call this function, but we now dynamically bring in the libraries that we need. This was done to make the same haret binary run on both old and new versions of wince. (We have confirmed success reports from ce 2.12 to ce 6.0.) To see how we do this dynamic linking take a look at the haret head branch and the files include/lateload.h and src/lateload.cpp. Good luck, -Kevin ------------------------------------------------------------------------- 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