Friday, September 4, 2020

Auto Linking in MachO-Explorer

Milen Dzhumerov:

Auto Linking works by inserting linker flags in object files. When the linker creates the final executable, it’s as if those linker flags were passed as arguments.


I recently added support for LC_LINKER_OPTION to MachO-Explorer, so you can use it to inspect the linker flags visually as well.


Update (2020-09-07): Jeff Johnson:

PROTIP: autolink doesn’t work as expected with import Cocoa

If your binary uses no AppKit symbols, then only Foundation gets linked.

Comments RSS · Twitter

Leave a Comment