This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Apparent thinko in closures.c causing GCC bootstrap failure on Cygwin
Timothy Wall wrote:
> While following the *nix variants and wrapping the mmap/munmap calls
> with dlmmap/dlunmap (to add the exec flag) seems like the consistent
> thing to do for cygwin, in this case cygwin is only going to insert some
> translation code between the ultimate calls to VirtualAlloc/VirtualFree.
Actually, it may well need to do some behind-the-scenes bookkeeping in order
to support fork semantics (which don't come naturally to windows!). I'll
generate a patch that enables the dlmmap/dlmunmap functions on Cygwin;
sticking to the standard POSIX APIs is the best thing to do. Patch withdrawn;
respin to follow. Thanks for the advice.