From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: cross building 1.9.14 for mingw Date: Mon, 31 Jan 2011 21:44:13 +0100 Message-ID: <87k4hk4xcy.fsf@gnu.org> References: <1296330082.8111.371.camel@vuurvlieg> <874o8r8kdn.fsf@gnu.org> <1296504984.17905.7.camel@vuurvlieg> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296506780 25355 80.91.229.12 (31 Jan 2011 20:46:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2011 20:46:20 +0000 (UTC) Cc: guile-devel@gnu.org To: Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jan 31 21:46:15 2011 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 1Pk0dC-0004lX-W0 for guile-devel@m.gmane.org; Mon, 31 Jan 2011 21:46:15 +0100 Original-Received: from localhost ([127.0.0.1]:42973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk0cu-0004z3-D9 for guile-devel@m.gmane.org; Mon, 31 Jan 2011 15:45:32 -0500 Original-Received: from [140.186.70.92] (port=49131 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk0cq-0004sm-71 for guile-devel@gnu.org; Mon, 31 Jan 2011 15:45:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pk0bf-0006sV-Ut for guile-devel@gnu.org; Mon, 31 Jan 2011 15:44:17 -0500 Original-Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:36601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pk0bf-0006sQ-Ov for guile-devel@gnu.org; Mon, 31 Jan 2011 15:44:15 -0500 X-IronPort-AV: E=Sophos;i="4.60,405,1291590000"; d="scan'208";a="75092432" Original-Received: from reverse-83.fdn.fr (HELO nixey) ([80.67.176.83]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 31 Jan 2011 21:44:14 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?iso-8859-1?Q?Pluvi=F4se?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <1296504984.17905.7.camel@vuurvlieg> (Jan Nieuwenhuizen's message of "Mon, 31 Jan 2011 21:16:24 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.104 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:11465 Archived-At: Hi Jan, Jan Nieuwenhuizen writes: > Ludovic Court=C3=A8s schreef op za 29-01-2011 om 22:34 [+0100]: [...] >> Hmm could it be that there was a typo? Here running =E2=80=98git-versio= n-gen=E2=80=99 >> outside of a Git tree works fine: >>=20 >> $ guile/build-aux/git-version-gen .tarball-version s/foo/bar/ >> UNKNOWN > > Yes, does it also work when you change configure.ac and autoreconf? Well yes? >> > --- a/libguile/bdw-gc.h >> > +++ b/libguile/bdw-gc.h >> > @@ -30,7 +30,9 @@ >> > allocation. */ >> >=20=20 >> > # define GC_THREADS 1 >> > +#ifndef __MINGW32__ >> > # define GC_REDIRECT_TO_LOCAL 1 >> > +#endif /* __MINGW32__ */ >>=20 >> Why? > > I'm using gc-6.8 Please use GC 7.x; older versions aren=E2=80=99t supported. >> > - buf->st_mode =3D _S_IFSOCK | _S_IREAD | _S_IWRITE | _S_IEXEC; >> > + buf->st_mode =3D _S_IREAD | _S_IWRITE | _S_IEXEC; >>=20 >> Why? Isn=E2=80=99t =E2=80=98_S_IFSOCK=E2=80=99 defined on all MinGW? > > I don't have in it my mingw-runtime-3.14. If there's a newer version, > I've misses something and would like to hear it. I don=E2=80=99t know. I=E2=80=99m asking because this bit is specifically = in an #ifdef __MINGW32__. >> > +#ifndef __MINGW32__ >> > /* Make sure the `AI_*' flags can be stored as INUMs. */ >> > verify (SCM_I_INUM (SCM_I_MAKINUM (AI_ALL)) =3D=3D AI_ALL); >>=20 >> Does MinGW lack getaddrinfo? > > No, it lacks the AI_* definitions. Oh fun. And how=E2=80=99s this supposed to be used? :-) > I realise that you may not want to include this just yet, although it > "documents" my progress building it for mingw. Yes, sure. Thanks, Ludo=E2=80=99.