On Mon, 2007-09-03 at 21:01 +0200, pgeorges wrote:
> Danny Backx a écrit :
> > HeapCompact is described on MSDN to be present on Windows CE 5 or
> > higher; my device has an older WinCE. Therefore when I add HeapCompact
> > to src/cegcc/importlibs/defs/coredll.def , and create a test application
> > that uses it, WinCE tells me it is not a valid Pocket PC application.
> >
> > You can try this on your PDA. Can you build the libcoredll.a or do you
> > need me to send you one ?

> HeapCompact is indeed only available with WinCE 5 and higher, so it is 
> not so important. But CreateToolhelp32Snapshot is more important, as it 
> is present since Wince 3.0, so maybe it could be incorporated in binary 
> releases.
> I will try to generate it by myself, thank you for your offer.

Pedro, others,

Would it be a good idea to generate multiple versions of some of the
libraries that we distribute ?

An example : the line
        ./mkimport.sh $defdir/coredll.def $outputdir || exit
in src/cegcc/importlibs/build.sh creates
        /opt/cegcc/arm-wince-cegcc/lib/libcoredll.a
based on the input file src/cegcc/importlibs/defs/coredll.def whose
contents is a list of supported APIs.

As we know several versions of WinCE are popular, we only distribute one
version of our toolset.

We could have support for more than one version of WinCE by creating a
second version of coredll.def and having an additional line in build.sh,
such as
        ./mkimport.sh $defdir/coredll5.def $outputdir || exit

We could even have a "master" file that defines multiple OS levels, and
generate coredll.def, coredll5.def and so on from it.
        
How good or bad an idea is this ?

        Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
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

Reply via email to