> Is that really needed? Looks like it should work as is. I will give it a try.

This part seems to be working, but I found other problems. There are
more users of OPT__sysroot_EQ. You probably need to define a
getSysRoot function. You also should string the final / from both the
command line and configure option or from none.

I tried building with

cmake ../llvm/ -DDEFAULT_SYSROOT=/Developer/SDKs/MacOSX10.7.sdk/

and config.h has

#define DEFAULT_SYSROOT "/Developer/SDKs/MacOSX10.7.sdk/"

but that sysroot is not being prepended to the header search path for example.

Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to