mtoc
« Back to VersTracker
Description:
Mach-O to PE/COFF binary converter
Type: Formula  |  Latest Version: 1030.6.3@0  |  Tracked Since: Oct 22, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: binary converter mach-o pe-coff development
Install: brew install mtoc
About:
mtoc is a command-line utility that converts Mach-O binary headers and structures into the PE/COFF format used by Windows executables. This tool is essential for developers working on cross-platform toolchains or bootloaders, enabling the linking of object files generated on macOS for use in Windows environments. It effectively bridges the gap between the Apple ecosystem and standard PC binary formats.
Key Features:
  • Converts Mach-O headers to PE/COFF format
  • Command-line interface for automation
  • Part of Apple's open-source developer tools
Use Cases:
  • Building cross-platform compilers and linkers
  • Creating bootloaders that run on PC hardware from a Mac development environment
  • Analyzing binary compatibility between macOS and Windows
Alternatives:
  • cctools-port – Provides a more comprehensive suite of Mach-O tools for Linux/Windows, including ld64, whereas mtoc focuses specifically on header conversion.
Version History
Detected Version Rev Change Commit
Oct 22, 2025 5:18am 0 VERSION_BUMP c0227abd
Sep 16, 2025 4:46am 0 VERSION_BUMP 32715ae7
Jan 14, 2025 8:02am 0 VERSION_BUMP d0540a76
Sep 14, 2024 7:58am 0 VERSION_BUMP eedc7193