mrn
mrn

Reputation: 1081

Is it possible to use a linker script with Apple ld64 linker?

As in the title, can you use a linker script with Apple ld64 linker? I mean an option similar to -T of GNU ld.

Upvotes: 1

Views: 213

Answers (1)

Chris Hanson
Chris Hanson

Reputation: 55164

No, this is a feature of the GNU linker and other ELF-centric linkers; Apple's linker handles Mach-O exclusively, which has quite different semantics from ELF.

Upvotes: 1

Related Questions