xref: /NextBSD/usr.bin/migcom/migcom.1 (revision 33da5adc555b3bc29986eeadca03829e4ad06b1e)
MIG 1
NAME
mig - Mach Interface Generator
SYNOPSIS
mig [ "option ..." ] "file"
DESCRIPTION
The mig command invokes the Mach Interface Generator to generate Remote Procedure Call (RPC) code for client-server style Mach IPC from specification files.
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.

-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.

-arch " arch" Specify machine architecture for target code.

-MD Option is passed to the C compiler for dependency generation.

-cpp This option is ignored.

-cc " path" Specify pathname to specific C compiler to use as the preprocessor.

-migcom " path" Specify pathname to specific migcom compiler to use for source code generation.

-isysroot " path" Specify SDK root directory.

Additional options provided are passed along to the C compiler unchanged.

NOTES
This man page is courtesy of Apple Computer, Inc. migcom(1) is from the original osfmk sources.