[cfe-commits] Use GCC_INSTALL_PREFIX to initialize SysRoot
Rafael EspĂndola
rafael.espindola at gmail.com
Wed Mar 7 07:03:56 PST 2012
> 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
More information about the cfe-commits
mailing list