Re: [pcre-dev] JIT doesn't build under WinCE

2012-07-08 Thread Zoltán Herczeg
Hi,

I renamed the variable to quit. I hope it will fix the WinCE build.
http://www.exim.org/lurker/message/20120708.164441.53d8f041.hu.html

Regards,
Zoltan

Giuseppe D'Angelo dange...@gmail.com írta:
Hi, a small followup: the JIT doesn't build under WinCE/x86 as well
because the indirect, apparently unguarded inclusion of excpt.h from
windows.h (#included from sljitUtils.c) has

#define leave   __leave

and this breaks pcre_jit_compile.c that has a leave field in a struct.

A simple #undef after the include leave seems to do the trick. :(

Thanks,
-- 
Giuseppe D'Angelo

-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 


-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Re: [pcre-dev] JIT doesn't build under WinCE

2012-06-20 Thread Zoltán Herczeg
Hi,

wow, WinCE is still alive?

Anyway, according to this doc these functions should be available everywhere, 
but it was never tested, thus the ifdefs:

http://infocenter.arm.com/help/topic/com.arm.doc.ihi0043c/IHI0043C_rtabi.pdf

They can be removed if other platforms like them.

Regards,
Zoltan

Giuseppe D'Angelo dange...@gmail.com írta:
Hello,

when targeting Windows CE, the current ARMv5 JIT does not build due to
line 1803 in sljitNativeARM_v5.c:

  #error Software divmod functions are needed

The whole block (present also in other files):

  #if defined(__GNUC__)
  extern unsigned int __aeabi_uidivmod(unsigned numerator, unsigned
denominator);
  extern unsigned int __aeabi_idivmod(unsigned numerator, unsigned 
denominator);
  #else
  #error Software divmod functions are needed
  #endif

makes me think that building JIT for ARM with a non-GNU-compatible
toolchain is unsupported. Is that the case?

Cheers,
-- 
Giuseppe D'Angelo

-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 


-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev