[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Portability fixes for win32 cross compiling
From: |
Ludovic Courtès |
Subject: |
Re: Portability fixes for win32 cross compiling |
Date: |
Wed, 09 Jun 2010 00:01:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
Volker Grabsch <address@hidden> writes:
> Ludovic Courtès <address@hidden> schrieb:
>> Volker Grabsch <address@hidden> writes:
>> >
>> > --- a/libguile/objcodes.c
>> > +++ b/libguile/objcodes.c
>> > @@ -23,7 +23,6 @@
>> > #include <string.h>
>> > #include <fcntl.h>
>> > #include <unistd.h>
>> > -#include <sys/mman.h>
>> > #include <sys/stat.h>
>> > #include <sys/types.h>
>> > #include <assert.h>
>>
>> This one is wrong: the file uses mmap(3), which is declared in
>> <sys/mman.h> according to
>> <http://www.opengroup.org/onlinepubs/9699919799/functions/mmap.html>.
>>
>> This function is missing on MinGW, though, but there’s currently no
>> replacement in Guile. Would you like to work on it?
>
> Sorry, I don't think I'm able to do that.
>
> However, I remember that Guile might already contain some
> alternative code for that, because objcodes.c finally compiled
> after removing that #include directive.
Hmm AFAICS the mmap() call in there is unconditional.
Thanks,
Ludo’.
- Re: Portability fixes for win32 cross compiling,
Ludovic Courtès <=