Post

Replies

Boosts

Views

Activity

Comment on Clang -nostdlib option not working
What does "(r. 75177082)" mean? BTW, I've found a workaround. Passing -Wl,-dead_strip_dylibs instead of -nostdlib produces the correct result, since the linker avoids linking against libSystem as it doesn't find any actual usage of symbols from that library. So, if this "problem" is by design, and this is a new policy from Apple, well, they have failed to enforce mandatory dependency on libSystem.
Oct ’21