carta
migcom(1)

migcom1

Mach interface generator compiler

Usage

migcom [option ...] <file

Overview

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.

History

  • macOS 26.5 to macOS 13.0: the text shown here
  • macOS 12.5 to Mac OS X 10.7

From bootstrap_cmds 138 in macOS 26.5. Parsed by carta from the page's man source.