
I think this will work. (This is just a guess since I can't test it) using darwin : /version/ : /command/ : <root>/Developer/Platforms/iPhoneOS.platform/Developer ;
It says now: sh: /version/: No such file or directory /Users/me/Dev/company/projects/ThirdParty/boost/tools/build/v2/build/property.jam:292: in validate1 from module property error: Invalid property '<root>/Developer/Platforms/iPhoneOS.platform/Developer': unknown feature 'root'.
Of course, it would be better to fix the search. Does it work if you modify init-available-sdk-versions and add /Developer/Platforms/iPhoneOS.platform/Developer to root?
I changed "root" variable like this: local rule init-available-sdk-versions ( condition * : root ? ) { root ?= /Developer/Platforms/iPhoneOS.platform/Developer ; //........... The output looks the same - it seems it doesn't affect the search at all. I also tried to change sdks-root: root ?= /Developer ; local sdks-root = $(root)/Platforms/iPhoneOS.platform/Developer/SDKs ; Same effect.