Closed michaeleisel closed 4 years ago
@rmaz @steipete @kastiglione @milend let me know if this will make life easier, and if there are any issues with the dependency on python and default of system ld
seems reasonable to me. For Xcode 12, it might be easier to configure Xcode to not use zld, instead of have zld recognize it's being called via Xcode 12.
yeah, it's tricky. but, i think this system will have nice long-term benefits too, e.g. for xcode 13
for consumers, note that -zld_original_ld_path
is also required, which if you're building with xcodebuild can just be $(DT_TOOLCHAIN_DIR)/usr/bin/ld
. if you don't pass that flag, then behavior won't change from how it currently is
The first one is pretty hard to fix without Apple deciding to open-source. The latter two I will figure out, if we have to, by just reverse-engineering the API.
One can force zld to be used through the new
-force_zld
flag however.