From: Danny B. <dan...@sc...> - 2007-11-18 08:43:05
|
Hey, Attached is a patch which we could use to provide version info. The cegcc.h include file is built automatically when a release is created, and stored in SVN. The build script does all the magic. I've worked with a two-phased system : - both our compilers define __CEGCC_VERSION__, without value - the include file detects this macro and gives it a value In addition to this, we could also provide a runtime function in the cegcc.dll for instance : extern int _CeGCCVersion(void); which might be defined as int _CeGCCVersion(void) { return __CEGCC_VERSION__; } In this way, the DLL version can be checked by an application. We'd also have to hide this in some DLL for mingw32ce. This is just a proposal. Comments please. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |