[Top][All Lists]

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

Re: Using labels-as-values on MacOS X

From: Ludovic Courtès
Subject: Re: Using labels-as-values on MacOS X
Date: Sat, 26 May 2012 14:44:20 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)


Hans Aberg <address@hidden> skribis:

> 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

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’s.  I wouldn’t want to #ifdef around these shameless hacks.

Thanks for the info!


reply via email to

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