---
name: "migcom"
section: "1"
platform: "macos"
package: "bootstrap_cmds"
version: "138"
release: "macOS 26.5"
platforms: ["macos"]
url: "https://new.carta.tech/migcom"
---

# migcom(1)

Mach Interface Generator COMpiler

## NAME

migcom - Mach Interface Generator COMpiler

## SYNOPSIS

**migcom** \[  *option ...* \]  *\<file*

## DESCRIPTION

*migcom* is the actual compiler used by the *mig* command to generate Remote Procedure Call (RPC) source code for client-server style Mach IPC from specification files. It is not normally used independently. Rather, it is invoked by the *mig* command after pre-processing the provided specifications file with the C preprocessor. It is only documented here for the sake of completeness.

## OPTIONS

- **-q/-Q**

  Omit / *emit* warning messages.

- **-v/-V**

  Verbose mode ( on / *off* ) will summarize types and routines as they are processed.

- **-l/-L**

  Controls ( *off* / on ) whether or not generated code logs RPC events to system logs.

- **-k/-K**

  Controls ( *on* / off ) whether generated code complies with ANSI C standards.

- **-s/-S**

  Controls ( on / *off* ) whether generated server-side code includes a generated symbol table.

- **-b/-B**

  Controls ( on / *off* ) whether generated code includes bounds-checking annotations, such as *\_\_counted\_by .*

- **-i** *prefix*

  Specify User file prefix.

- **-user** *path*

  Specify name of user-side RPC generated source file.

- **-server** *path*

  Specify name of server-side RPC generated source file.

- **-header** *path*

  Specify name of user-side generated header file.

- **-sheader** *path*

  Specify name of server-side generated header file.

- **-iheader** *path*

  Specify internal header file name.

- **-dheader** *path*

  Specify defines generated header file.

- **-maxonstack** *value*

  Specify maximum size of message on stack.

- **-split**

  Use split headers.
