From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Reconsideration of MinGW work Date: Tue, 23 Mar 2010 00:35:48 +0000 Message-ID: <878w9jlvrv.fsf@ossau.uklinux.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269304586 2535 80.91.229.12 (23 Mar 2010 00:36:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Mar 2010 00:36:26 +0000 (UTC) Cc: guile-devel To: "carlo.bramix" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 23 01:36:21 2010 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 1Nts6W-0000a5-Iw for guile-devel@m.gmane.org; Tue, 23 Mar 2010 01:36:20 +0100 Original-Received: from localhost ([127.0.0.1]:43378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nts6W-0002UY-1R for guile-devel@m.gmane.org; Mon, 22 Mar 2010 20:36:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nts6S-0002US-Lr for guile-devel@gnu.org; Mon, 22 Mar 2010 20:36:16 -0400 Original-Received: from [140.186.70.92] (port=49041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nts6Q-0002UK-ED for guile-devel@gnu.org; Mon, 22 Mar 2010 20:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nts6N-0003af-EP for guile-devel@gnu.org; Mon, 22 Mar 2010 20:36:14 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:43845) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nts6N-0003aR-7M for guile-devel@gnu.org; Mon, 22 Mar 2010 20:36:11 -0400 Original-Received: from arudy (host86-182-154-126.range86-182.btcentralplus.com [86.182.154.126]) by mail3.uklinux.net (Postfix) with ESMTP id A98C41F6683; Tue, 23 Mar 2010 00:36:09 +0000 (GMT) Original-Received: from arudy (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id 362B938026; Tue, 23 Mar 2010 00:35:49 +0000 (GMT) In-Reply-To: (carlo bramix's message of "Sun, 21 Mar 2010 23:45:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:10074 Archived-At: "carlo.bramix" writes: > Hello! Hi Carlo! > Unfortunately, the network is one of the common problems when > porting. It could be resoved with some work and with some "tricks" if > someone wants. Indeed. I know that I have patches pending for this. I also wonder if the MinGW Guile port at the SF page that I cited includes those tricks. (I will take a look.) > Did you mean "regex" with "regular expressions"? Yes. > There > are two of these libraries at mingw downloads but, unfortunately, I > was not able to make them working: I had to take original sources and > I recompiled myself. Again, I wonder if the advertised MinGW Guile port has regex support. >> Second, though, it turns out that using i586-mingw32msvc-* and Wine >> on Linux unfortunately does not give the same results as MSYS and >> MinGW on Windows. For example I've found that system(NULL) throws a >> SIGSEGV under Wine, but for Carlo Bramix, working on Windows, that >> wasn't a problem; and instead, for Carlo, there were other problems >> that I don't see with a Linux cross build. > > Yes, it seems to be a bug of WINE. Look the sources of _wsystem() > function at: > > http://source.winehq.org/git/wine.git/?a=blob;f=dlls/msvcrt/process.c;h=0b1eb01d2728b4df9e7d12a457dd3065bed1f1d1;hb=HEAD Thanks. > I have not tried to compile latest GUILE 1.9.9 on CYGWIN but I will > try it in the lunch pause tomorrow. I'm quite confident it will work > because I had not particular problems on previous versions. Thanks, that's good to know. > DLLs, well integrated in the system and running at a native speed that > you will never reach in cygwin. Although many efforts have been made, > cygwin acts more similar to virtual machine to me. But why? I don't doubt that this is true - because many people have said this, and I've seen myself that Cygwin applications seem slow. But why, technically speaking, is it true? > I'm not trying to > change the decisions of the team in any way, I just wanted to show you > why true win32 applications should be prefered to the ones made with > cygwin (if this is possible to do, of course!). Thanks. I accept that now. > Me too, I made a working GUILE 1.8.6 that I'm currently using and > until now it worked fine; afterall, I'm trying to build GUILE on > Windows since version 1.8.3 :P Yes. I appreciate your efforts, and I'm sorry it's taken a while for us to get everything needed upstream. >> - As far as future development is concerned, including the current >> "master" branch, MinGW portability fixes should be directed at >> Gnulib if possible, instead of done directly in the Guile code. > > For a project as complex as guile, probably this sounds to be a good > solution. Many thanks for your comments. Neil