[llvm-dev] Triple to emit x86_64-apple-macosx as elf

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 20 11:52:20 PDT 2018


I'm trying to get an ELF object file for the x86_64-apple-macosx triple but adding -elf to the end like
x86_64-apple-macosx-elf doesn't change it. In the past I used x86_64-pc-win32-elf, which changed the win32 output from COFF to ELF. Is there an equivalent option for mach-o?

More information about the llvm-dev mailing list