From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Volker Grabsch Newsgroups: gmane.lisp.guile.bugs,gmane.lisp.guile.devel Subject: Guile with win32 cross compiling Date: Sat, 26 Mar 2011 23:04:58 +0100 Message-ID: <20110326220458.GA30343@flap> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301177115 3302 80.91.229.12 (26 Mar 2011 22:05:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Mar 2011 22:05:15 +0000 (UTC) Cc: bug-guile@gnu.org, guile-devel@gnu.org To: Mike Gran Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Mar 26 23:05:11 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3bba-0006pi-QL for guile-bugs@m.gmane.org; Sat, 26 Mar 2011 23:05:10 +0100 Original-Received: from localhost ([127.0.0.1]:59377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3bba-0005nt-7t for guile-bugs@m.gmane.org; Sat, 26 Mar 2011 18:05:10 -0400 Original-Received: from [140.186.70.92] (port=49103 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3bbU-0005nU-Ar for bug-guile@gnu.org; Sat, 26 Mar 2011 18:05:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3bbT-0006VZ-GG for bug-guile@gnu.org; Sat, 26 Mar 2011 18:05:04 -0400 Original-Received: from mail.notjusthosting.com ([78.47.75.226]:59049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3bbQ-0006UK-Ju; Sat, 26 Mar 2011 18:05:00 -0400 Original-Received: from p5df16ebb.dip.t-dialin.net ([93.241.110.187] helo=flap) by mail.notjusthosting.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q3bbP-0007kb-4Z; Sat, 26 Mar 2011 22:04:59 +0000 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 78.47.75.226 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5378 gmane.lisp.guile.devel:11998 Archived-At: 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 " 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 ---<<(())>>---