Hi Bj�rn

Bj�rn Wennberg wrote:
Hi there.

OS: cygwin-1.5.10-3 (latest) with gcc-3.3.1

Ah, another fellow cygwin user! :)

configure finds out that cygwins mmap is broken and does not include <sys/mmap.h>
>
configure finds out that cygwin supports mprotect and defines HAVE_MPROTECT and 
HAVE_COMPATIBLE_MPROTECT

The compilation breaks in kaffe/kaffe/kaffevm/mem/gc-mem.c complaining the PROT_READ, 
PROT_WRITE... defines doesn't exist

PROT_READ and friends are defined in <sys/mman.h> which are not included because mmap is broken according to configure.

Thanks for the bug report. I've changed configure to check for sys/mman.h seprately, and include it if it is available.


cheers,
dalibor topic

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to