guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portability fixes for win32 cross compiling


From: Andy Wingo
Subject: Re: Portability fixes for win32 cross compiling
Date: Wed, 09 Jun 2010 08:42:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

On Wed 09 Jun 2010 00:12, No Itisnt <address@hidden> writes:

>>> 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.
>
> Try <http://msdn.microsoft.com/en-us/library/aa366556(VS.85).aspx> for
> Windows' mmap equivalent. You could also just write a generic
> fread/malloc equivalent, since the mmap is only for speed (I think).

It would be ideal if there were an mmap gnulib module, so we can
preserve the performance characteristics of mmap.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]