guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using labels-as-values on MacOS X


From: Hans Aberg
Subject: Re: Using labels-as-values on MacOS X
Date: Fri, 25 May 2012 18:32:23 +0200

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

> Ken Raeburn <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]