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: TODO list for Guile R7RS support Date: Sat, 11 Feb 2012 22:11:01 +0100 Message-ID: <87r4y1qdne.fsf@gnu.org> References: <87vcngvbif.fsf@netris.org> <87k43uhegn.fsf@gnu.org> <87d39l5cht.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1328994920 2250 80.91.229.3 (11 Feb 2012 21:15:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2012 21:15:20 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Feb 11 22:15:19 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RwKHt-0005MZ-UH for guile-devel@m.gmane.org; Sat, 11 Feb 2012 22:15:18 +0100 Original-Received: from localhost ([::1]:59599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwKHt-0002SE-3p for guile-devel@m.gmane.org; Sat, 11 Feb 2012 16:15:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwKHp-0002Rl-8o for guile-devel@gnu.org; Sat, 11 Feb 2012 16:15:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwKHm-0008Oh-I8 for guile-devel@gnu.org; Sat, 11 Feb 2012 16:15:13 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwKHm-0008O9-7F for guile-devel@gnu.org; Sat, 11 Feb 2012 16:15:10 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RwKHg-0005GZ-W5 for guile-devel@gnu.org; Sat, 11 Feb 2012 22:15:04 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Feb 2012 22:15:04 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Feb 2012 22:15:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?iso-8859-1?Q?Pluvi=F4se?= an 220 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 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:0rVq++qNXio734ZgD0VBNTGGj3Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13846 Archived-At: Hi Mark, Mark H Weaver skribis: > ludo@gnu.org (Ludovic Courtès) writes: > >> Mark H Weaver skribis: [...] >>> * R7RS feature identifiers: r7rs, exact-closed, ratios, exact-complex, >>> ieee-float, full-unicode, windows, posix, unix, darwin, linux, bsd, >>> freebsd, solaris, i386, x86-64, ppc, sparc, jvm, clr, llvm, ilp32, >>> lp64, ilp64, big-endian, little-endian, guile, guile-2, guile-2.0 >> >> I wonder how these are specified. Does a *-kfreebsd-gnu build have >> ‘freebsd’? And ‘bsd’? Do *-gnu* have ‘linux’ defined, even when Linux >> isn’t used? Does Cygwin have ‘unix’? >> >> And above all: are people going to write #ifdef __linux__ish code when >> what they mean is #ifdef __GLIBC__ or even something different? > > Yes, this is a very good point, and one that should be raised with the > R7RS working group. The C library is usually far more relevant to user > code than the kernel. This strikes me as another instance of the > widespread confusion that "linux" is an operating system, when in fact > it is only a kernel. Exactly, and it goes beyond the “GNU slash Linux” issue, as I illustrated. > It would be a shame for this confusion to be codified into the R7RS. Indeed. If you’re following R7RS discussions, could you raise the issue? Thanks, Ludo’.