[cfe-dev] Does clang work on X86-64 machines?

Eli Friedman eli.friedman at gmail.com
Fri Feb 29 13:59:13 PST 2008


On Fri, Feb 29, 2008 at 1:52 PM, Török Edwin <edwintorok at gmail.com> wrote:
>  Index: Driver/clang.cpp
>  ===================================================================
>  --- Driver/clang.cpp    (revision 47285)
>  +++ Driver/clang.cpp    (working copy)
>  @@ -891,6 +891,8 @@
>      AddPath("/usr/include", System, false, false, false, Headers);
>      AddPath("/System/Library/Frameworks", System, true, false, true,
>  Headers);
>      AddPath("/Library/Frameworks", System, true, false, true, Headers);
>  +    AddPath("/usr/lib/gcc/x86_64-linux-gnu/4.2.3/include", System,
>  +            false,false,false,Headers);
>    }

Feel free to commit this patch; the whole thing is just a temporary
hack until clang gets its own standard headers anyway.

-Eli




More information about the cfe-dev mailing list