[llvm-commits] getting -with-sysroot to work

Rafael Espindola espindola at google.com
Fri Jul 4 11:08:44 PDT 2008


Compiling llvm-gcc with --with-sysroot causes the resulting compiler
to fail to find its own headers (like stddef.h).

I was able to make it work by removing an Apple local change. I am
sure Apple needs this for some reason. Maybe we can try to make it
generic (a configure flag at least) and include it on mainline GCC?

Cheers,
-- 
Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland

Registered in Dublin, Ireland
Registration Number: 36804
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysroot.patch
Type: text/x-diff
Size: 475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080704/9edb726c/attachment.patch>


More information about the llvm-commits mailing list