[cfe-dev] Using Clang -O4 with CMake

Paul Davey plmdvy at gmail.com
Sat Jun 19 06:20:13 PDT 2010


On Sat, Jun 19, 2010 at 10:39 PM, Toralf Niebuhr <niebuhr at niebuhrt.de> wrote:
>
> Am 19.06.2010 um 06:15 schrieb Chris Lattner:
>
>>
>> On Jun 18, 2010, at 8:47 PM, Clark Gaebel wrote:
>>
>>> I'm running...
>>>
>>> clark at clark-laptop ~/dev/cpp/GoGo/build $ clang++ --version
>>> clang version 1.5 (trunk 101682)
>>> Target: x86_64-unknown-linux-gnu
>>> Thread model: posix
>>
>> For LTO to work on linux, you need to use the gold linker and set up the gold lto plugin.  Please see:
>> http://llvm.org/docs/GoldPlugin.html
> I had the same problem too. Is there such a plugin for Mac OS X too?

The darwin linker understands llvm bitcode files and can link them AFAIK...
=




More information about the cfe-dev mailing list