[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guile with win32 cross compiling
From: |
Volker Grabsch |
Subject: |
Guile with win32 cross compiling |
Date: |
Sat, 26 Mar 2011 23:06:51 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Mike,
I just tried again to cross compile a win32 version of guile, using
the latest 2.0.0 release. My last attempt in April 2010 failed.
Much has been improved since then, but there are still fatal
errors, so I still can't support guile-2 in mingw-cross-env. [1]
1)
The first issue is the "#include <uniconv.h>" in gen-scmconfig,
which has already been discussed in the past and for which I
already provided a clean, working solution. I forward-ported
my patch to guile-2.0.0 and it seems to work. This patch is
attached to this email, please consider applying it.
Also attached is a build log created by mingw-cross-env showing
how far the cross build gets with this patch.
2)
The other open issue is also a known one: the missing mmap()
function under Windows. After some research, I found a promising
mmap()/munmap() implementation for Windows in a free software
project:
http://code.google.com/p/flvmeta/source/browse/trunk/src/mmap.h?r=74
http://code.google.com/p/flvmeta/source/browse/trunk/src/mmap.c?r=74
Maybe this is worth integrating into guile?
Greets,
Volker
[1] http://mingw-cross-env.nongnu.org/
--
Volker Grabsch
---<<(())>>---
guile-1-fix-gen-scmconfig-for-cross-compiling.patch
Description: Text Data
guile.log
Description: Text document