[Gdal-dev] RE: Re: WinCE port

Martin Daly Martin.Daly at cadcorp.com
Wed May 19 04:36:04 EDT 2004


Andrey,

> I have tried to use Embedded VC 4.0 with the libtiff library 
> and found a big problem: how to deduce the compiler used to 
> build the code? MSVC defines _MSC_VER constant which can be 
> used to identify the compiler. Does something similar exist 
> for the embedded edition, which can be used to distinguish it 
> from other compilers and from the 'normal' MSVC? Or we should 
> use manually defined flag in the configuration files?

You can use the _WIN32_WCE constant.

We have ported libtiff to Windows CE using eVC++ 3.0, and only had to
make changes in tif_win32.c and tiffcomp.h.  I can send these, and an
eVC++ 3 .vcp, if you would like them.

Regards,
Martin Daly,
Technical Director,
Cadcorp



More information about the Gdal-dev mailing list