# Install mtoc with Homebrew

Mach-O to PE/COFF binary converter. Version 1035.1.102 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:mtoc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mtoc
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:mtoc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mtoc>
- **Version:** 1035.1.102
- **Source summary:** Mach-O to PE/COFF binary converter
- **Homepage:** <https://opensource.apple.com/>
- **Repository:** <https://github.com/apple-oss-distributions/cctools>
- **Upstream docs:** <https://opensource.apple.com/>
- **License:** APSL-2.0
- **Source archive:** <https://github.com/apple-oss-distributions/cctools/archive/refs/tags/cctools-1035.1.102.tar.gz>
- **Last updated:** 2026-06-25T13:37:55+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mtoc (cli)
- mtoc (alias)

## Build dependencies

- llvm

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1035.1.102
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/apple-oss-distributions/cctools
- info: No cached GitHub release or tag data was available.
## Project history and usage

mtoc is a narrow Apple/Darwin build tool: a Mach-O to PE/COFF binary converter built from Apple's open-source cctools distribution. Homebrew packages it from the apple-oss-distributions/cctools source archive, builds the mtoc Xcode scheme, installs the mtoc binary and man page, and marks it as conflicting with ocmtoc because both provide the same command name.

### Project history

Its main visible adoption path is firmware development on macOS. The TianoCore EDK II Xcode guide says Xcode supplies many development tools but not all tools needed for TianoCore, and names mtoc as the utility required to convert macOS Mach-O images to the PE/COFF form required by the UEFI specification. In that workflow, developers build EDK II firmware on macOS with Xcode and use mtoc as the format bridge between Apple's native object/executable format and UEFI's PE/COFF image expectations.

### How it is used

As a package, mtoc is not a general binary-conversion suite like objconv and not the whole cctools collection. It is the small extract a Homebrew user installs when the build chain specifically asks for mtoc, most often through EDK II or related UEFI build instructions.

### Sources

- <https://formulae.brew.sh/formula/mtoc>
- <https://github.com/apple-oss-distributions/cctools>
- <https://github.com/tianocore/tianocore.github.io/wiki/xcode>
- <https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/m/mtoc.rb>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mtoc
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** ocmtoc
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Build dependency declared by Homebrew.
- [bsdmake](https://www.automicvault.com/pkg/brew/bsdmake/) - Shares the same upstream homepage.
- [telnet](https://www.automicvault.com/pkg/brew/telnet/) - Shares the same upstream homepage.
- [telnetd](https://www.automicvault.com/pkg/brew/telnetd/) - Shares the same upstream homepage.
- [elfx86exts](https://www.automicvault.com/pkg/brew/elfx86exts/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools, mach-o.
- [ldid](https://www.automicvault.com/pkg/brew/ldid/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools, mach-o.
- [binutils](https://www.automicvault.com/pkg/brew/binutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [cargo-binutils](https://www.automicvault.com/pkg/brew/cargo-binutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [chrpath](https://www.automicvault.com/pkg/brew/chrpath/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [dwarfutils](https://www.automicvault.com/pkg/brew/dwarfutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [elfutils](https://www.automicvault.com/pkg/brew/elfutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [heksa](https://www.automicvault.com/pkg/brew/heksa/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [dwarf](https://www.automicvault.com/pkg/brew/dwarf/) - Local package facts share a topical domain. Shared terms: binary, cli, developer, developer-tools, mach.

## Combined YAML source

View the package source record on GitHub. [combined/mtoc.yml](https://github.com/automic-vault/db/blob/main/combined/mtoc.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
