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: Volker Grabsch
Subject: Re: Portability fixes for win32 cross compiling
Date: Wed, 28 Jul 2010 14:40:11 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

No Itisnt <address@hidden> schrieb:
> Volker Grabsch <address@hidden> writes:
> > Ludovic Courtès <address@hidden> schrieb:
> >>
> >> 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).

Sorry, but this is really going too far. It would be a different
thing if I was actually using Guile for Windows, but I don't have
any interest in doing that.

I'm just the maintainer of Mingw-cross-env who included Guile
on the request of a user. I fixed the latest Guile release to allow
for Windows cross compiling, which resulted in two small changes.

All I wanted to do was providing those two fixes to the Guile project
so that more people would profit from them. But I noticed that the
release was quite far behind the development version of Guile, so I
decided to port-forward my patches to make them more useful to you.

Porting the first change was straight-forward, but the second part
had to be fixed at another place in the dev version. And it still
didn't work, because the dev version contained many more non-portable
places which didn't exist in the release. I ended up fixig 6 places
in total, consuming a day rather than an hour of work. Then I gave
up and just sent the patches to you, assuming they would be useful
to you nevertheless.

Please, don't count on me on fixing anything more. I already helped
out more than I originally intended to do. I'm just the wrong guy
for that task.


Greets,
Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR



reply via email to

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