Hi,

Hans Aberg <haber...@telia.com> skribis:

> On 25 May 2012, at 17:31, Ludovic Courtès wrote:
>
>> Ken Raeburn <raeb...@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

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!

Ludo’.

Reply via email to