Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何让 Xcode 告诉编译器不要链接?
我正在制作一个可能不会链接到任何东西的库。我在哪里可以在目标的属性中设置它不能链接到标准库,我可以选择static或者dynamic只有,没有not选项。
static
dynamic
not
您在项目属性 (LINK_WITH_STANDARD_LIBRARIES) 的同一部分中具有与标准库的链接复选框。只需取消选中它。