I wanted to cross-compile ROOT for OS X 10.4 on an OS X 10.5 machine, so I passed “-isysroot /Developer/SDKs/MacOSX10.4u.sdk” to EXTRA_CFLAGS and EXTRA_CXXFLAGS. rmkdepend doesn’t like this:
rmkdepend doesn’t know how to ignore isysroot which is what it should be doing. You can add it to OPT instead of adding it to C[XX]FLAGS - OPT is not passed to rmkdepend.
Thanks for the tip. This seems to work well, but there are a couple of “gotchas”:
-isysroot is not used when compiling dictionary source code
-isysroot is not used when compiling builtin_* libraries and xrootd (but that’s expected, I guess)
Thanks again, Axel, this works fine for the dictionaries as you suggest. I can supply my own builds of the various external libraries, although ROOT currently seems configured to ignore any external libAfterImage:
# Currently our libAfterImage is completely out of sync with the official
# libAfterImage due to many new features, use always the builtin_afterimage
.....
#if test $asimage_version -gt 1003 ; then
if test $asimage_version -gt 0 ; then
result "WARNING: System libAfterImage is too new, using built-in"