On Sun, 29 Mar 2009, Szak�ts Viktor wrote:

Hi,

> > BTW: in hbsetup.h you added:
> >         ( defined(__POCC_TARGET__) && __POCC_TARGET__ == 2 )
> >     to detect HB_OS_WIN_CE builds. Maybe it's documented method in POCC
> >     and in such case should be left but if not then I suggest to rather
> >     use sth like:
> >         ( defined( HB_OS_WIN ) && defined( _M_ARM ) )
> Maybe I'm missing something, but _M_ARM doesn't seem to work in POCC 5,
> I've found no better solution back then, that's why I opted for this route.
> --- test.c
> #if defined( _M_ARM )
>    #error defined
> #else
>    #error not defined
> #endif
> ---
> >pocc -Tarm-coff test.c

Hm, In such case this seems to be much more serious problem.
I do not have the newest POCC but in version 4.50 header files needs
_M_ARM, _ARM_ and _WINCE and UNICODE macros for PocketPC builds.
If they are not set then it's possible that we will generate wrong
binaries and probably we should set them manually probably using
-D<name> pocc.exe option.
I think it will be good to ask Pelle about it.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to