unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Hans Aberg <haberg-1@telia.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: Using labels-as-values on MacOS X
Date: Fri, 25 May 2012 18:32:23 +0200	[thread overview]
Message-ID: <00FD5124-EF07-43C1-AF3D-ECB1A41F44AA@telia.com> (raw)
In-Reply-To: <87fwao6zwg.fsf@gnu.org>

On 25 May 2012, at 17:31, Ludovic Courtès wrote:

> Ken Raeburn <raeburn@raeburn.org> skribis:
> 
>> * 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)"),
> 
> Damn, what compiler is this?  It’s not the old GCC 4.2 fork?  Is it
> Clang?  GCC with DragonEgg?

$ /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

It comes with Xcode 4.3.2 (on Mac OS X 10.7.4). LLVM was originally intended as a backend for GCC, and this a variation of that compiler.

There is also
$ ls -l /usr/bin/cc
lrwxr-xr-x  1 root  wheel  5 Mar 23 21:19 /usr/bin/cc -> clang
$ clang --version
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)

In addition, I have
$ which gcc
/usr/local/bin/gcc
$ gcc --version
gcc (GCC) 4.7.0

It was compiled using the LLVM-GCC above.

Hans





  reply	other threads:[~2012-05-25 16:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-21  5:45 a few proposed patches Ken Raeburn
2012-05-21  6:41 ` Neil Jerram
2012-05-22  7:54 ` Andy Wingo
2012-05-22 16:51   ` Ken Raeburn
2012-05-22  8:17 ` Andy Wingo
2012-05-22  8:21   ` Andy Wingo
2012-05-22 16:54   ` Ken Raeburn
2012-05-25 14:56     ` Removing ‘GC_PTR’ Ludovic Courtès
2012-05-25 15:31 ` Using labels-as-values on MacOS X Ludovic Courtès
2012-05-25 16:32   ` Hans Aberg [this message]
2012-05-26 12:44     ` Ludovic Courtès
2012-05-26 12:58       ` Hans Aberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00FD5124-EF07-43C1-AF3D-ECB1A41F44AA@telia.com \
    --to=haberg-1@telia.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).