From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Volker Grabsch Newsgroups: gmane.lisp.guile.devel Subject: Re: Portability fixes for win32 cross compiling Date: Fri, 28 May 2010 16:56:04 +0200 Message-ID: <20100528145604.GD24983@flap> References: <20100415005116.GB28615@flap> <600433.60324.qm@web37903.mail.mud.yahoo.com> <20100415205822.GA6186@flap> <20100421202248.GA16263@flap> <87k4qof9zi.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1275058656 20410 80.91.229.12 (28 May 2010 14:57:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 May 2010 14:57:36 +0000 (UTC) Cc: guile-devel@gnu.org To: Ludovic =?iso-8859-1?Q?Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri May 28 16:57:34 2010 connect(): No such file or directory Return-path: Envelope-to: guile-devel@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 1OI104-00027Y-KP for guile-devel@m.gmane.org; Fri, 28 May 2010 16:57:29 +0200 Original-Received: from localhost ([127.0.0.1]:50091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI102-0008Bi-E4 for guile-devel@m.gmane.org; Fri, 28 May 2010 10:57:26 -0400 Original-Received: from [140.186.70.92] (port=46052 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI0zG-0007aE-17 for guile-devel@gnu.org; Fri, 28 May 2010 10:56:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OI0zD-0006BX-PB for guile-devel@gnu.org; Fri, 28 May 2010 10:56:37 -0400 Original-Received: from mail.notjusthosting.com ([78.47.75.226]:59660) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OI0zA-0006AY-TI; Fri, 28 May 2010 10:56:33 -0400 Original-Received: from pd95895f3.dip.t-dialin.net ([217.88.149.243] helo=flap.v.notjusthosting.com) by mail.notjusthosting.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OI0z9-0003zV-Ao; Fri, 28 May 2010 14:56:31 +0000 Original-Received: from vog by flap.v.notjusthosting.com with local (Exim 4.63) (envelope-from ) id 1OI0yi-0006en-BD; Fri, 28 May 2010 16:56:04 +0200 Content-Disposition: inline In-Reply-To: <87k4qof9zi.fsf@gnu.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10392 Archived-At: Ludovic Courtès schrieb: > Volker Grabsch writes: > > > > --- a/libguile/objcodes.c > > +++ b/libguile/objcodes.c > > @@ -23,7 +23,6 @@ > > #include > > #include > > #include > > -#include > > #include > > #include > > #include > > This one is wrong: the file uses mmap(3), which is declared in > according to > . > > 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. So maybe it just needs to be guarded into "#if"? ... #include #if _POSIX_MAPPED_FILES > 0 #include #endif #include ... BTW, a simple ... #ifdef _POSIX_MAPPED_FILES ... seems to be sufficient under MinGW, too. Greets, Volker -- Volker Grabsch ---<<(())>>--- Administrator NotJustHosting GbR