[llvm-commits] [llvm-gcc-4.2] r53113 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h

Eric Christopher echristo at apple.com
Mon Jul 7 13:14:22 PDT 2008


On Jul 7, 2008, at 1:12 PM, Chris Lattner wrote:

>
> On Jul 7, 2008, at 10:48 AM, Eric Christopher wrote:
>
>>
>> On Jul 7, 2008, at 10:19 AM, Evan Cheng wrote:
>>
>>> It would be nice if someone with configure foo can help with this.
>>> Perhaps Eric?
>>
>> Sure. There are a few ways you can go about this:
>
> What fix is required here?  I don't understand the problem.
>
> If a user invokes 'llvm-gcc -mllvm -foo x.o' and the linker doesn't
> support llvm LTO options, why does it matter if llvm-gcc or ld rejects
> them?

I was under the impression that llvm-gcc was automatically inserting
the option whether or not it was passed on the command line?

If it's going to be a command line option to llvm-gcc it should probably
be documented - otherwise it should go under -Wl,<option> for linker
options.

-eric



More information about the llvm-commits mailing list