ocmtoc

Converts Mach-O binaries to PE/COFF format for cross-platform compatibility

brewmacoslinux
Try with needOr install directly
Source

About

Mach-O to PE/COFF binary converter

Commands

ocmtoc

Examples

Convert a Mach-O binary to PE/COFF format$ ocmtoc input_binary output_binary
Convert with verbose output to see conversion details$ ocmtoc -v input_macho.o output_coff.o
Process a compiled object file from macOS for Windows$ ocmtoc compiled.o converted.obj