From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.devel Subject: Re: Using labels-as-values on MacOS X Date: Sat, 26 May 2012 14:58:42 +0200 Message-ID: <536FD0B6-664A-458E-988D-D2289E89C9D3@telia.com> References: <87fwao6zwg.fsf@gnu.org> <00FD5124-EF07-43C1-AF3D-ECB1A41F44AA@telia.com> <87likfp0wr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338037144 12229 80.91.229.3 (26 May 2012 12:59:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 May 2012 12:59:04 +0000 (UTC) Cc: guile-devel@gnu.org To: =?iso-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 26 14:59:03 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SYGa5-0006K5-Uv for guile-devel@m.gmane.org; Sat, 26 May 2012 14:58:54 +0200 Original-Received: from localhost ([::1]:57352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYGa5-0002RO-L5 for guile-devel@m.gmane.org; Sat, 26 May 2012 08:58:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYGa2-0002R8-Dx for guile-devel@gnu.org; Sat, 26 May 2012 08:58:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYGa0-0004ev-Ln for guile-devel@gnu.org; Sat, 26 May 2012 08:58:49 -0400 Original-Received: from smtp-out12.han.skanova.net ([195.67.226.212]:42825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYGZy-0004eH-1E; Sat, 26 May 2012 08:58:46 -0400 Original-Received: from [10.0.1.2] (217.210.127.13) by smtp-out12.han.skanova.net (8.5.133) (authenticated as u26619196) id 4FAE31D90035C3EB; Sat, 26 May 2012 14:58:43 +0200 In-Reply-To: <87likfp0wr.fsf@gnu.org> X-Mailer: Apple Mail (2.1278) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.67.226.212 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:14518 Archived-At: On 26 May 2012, at 14:44, Ludovic Court=E8s wrote: > Hans Aberg skribis: >=20 >> On 25 May 2012, at 17:31, Ludovic Court=E8s wrote: >>=20 >>> Ken Raeburn skribis: >>>=20 >>>> * Don't use addresses of code labels with LLVM, even if the = compiler >>>> supports them. At least with the version of LLVM GCC on my Mac = ("gcc >>>> version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build >>>> 2336.1.00)"), >>>=20 >>> Damn, what compiler is this? It=92s not the old GCC 4.2 fork? Is = it >>> Clang? GCC with DragonEgg? >>=20 >> $ /usr/bin/gcc --version >> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. = build 5658) (LLVM build 2336.9.00) >> $ ls -l /usr/bin/gcc >> lrwxr-xr-x 1 root wheel 12 Mar 23 21:20 /usr/bin/gcc -> = llvm-gcc-4.2 >=20 > They put so much effort into making a compiler indistinguishable from > GCC that all we can hope for is that it generates code that performs = as > well as GCC=92s. I wouldn=92t want to #ifdef around these shameless = hacks. When compiling packages, I normally use /usr/bin/gcc, which is llvm-gcc = then, because I think it was what package writer normally would expect. = So 'configure' normally chooses gcc, which then becomes llvm-gcc unless = one is doing something, like setting CC or installing ones own GCC. Otherwise, the system compiler is now actually clang: $ ls -l /usr/bin/cc /usr/bin/cc -> clang Before it was LLVM-GCC which still has a link from /usr/bin/gcc. > Thanks for the info! You are welcome. Hans