aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap_cmds/migcom.tproj/mig.1
blob: 6ab8cdab5b06c3eeb9590a723bb0b24d12fe78e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.TH MIG 1 "Nov 20, 2009" "Apple Computer, Inc."
.SH NAME
mig \- Mach Interface Generator
.SH SYNOPSIS
.B mig
[ 
.I "option \&..."
] 
.I "file"
 
.SH DESCRIPTION
The
.I mig
command invokes the Mach Interface Generator to generate Remote Procedure Call (RPC)
code for client-server style Mach IPC from specification files.
.SH OPTIONS
.TP
.B \-q/-Q
Omit /
.I emit
warning messages.
.TP
.B \-v/-V
Verbose mode ( on /
.I off
) will summarize types and routines as they are processed.
.TP
.B \-l/-L
Controls (
.I off
/ on ) whether or not generated code logs RPC events to system logs.
.TP
.B \-k/-K
Controls (
.I on
/ off ) whether generated code complies with ANSI C standards.
.TP
.B \-s/-S
Controls ( on /
.I off
) whether generated server-side code includes a generated symbol table.
.TP
.BI \-i " prefix"
Specify User file prefix.
.TP
.BI \-user " path"
Specify name of user-side RPC generated source file.
.TP
.BI \-server " path"
Specify name of server-side RPC generated source file.
.TP
.BI \-header " path"
Specify name of user-side generated header file.
.TP
.BI \-sheader " path"
Specify name of server-side generated header file.
.TP
.BI \-iheader " path"
Specify internal header file name.
.TP
.BI \-dheader " path"
Specify defines generated header file.
.TP
.BI \-maxonstack " value"
Specify maximum size of message on stack.
.TP
.B \-split
Use split headers.
.TP
.BI \-arch " arch"
Specify machine architecture for target code.
.TP
.B \-MD
Option is passed to the C compiler for dependency generation.
.TP
.B \-cpp
This option is ignored.
.TP
.BI \-cc " path"
Specify pathname to specific C compiler to use as the preprocessor.
.TP
.BI \-migcom " path"
Specify pathname to specific migcom compiler to use for source code generation.
.TP
.BI \-isysroot " path"
Specify SDK root directory.
.TP
Additional options provided are passed along to the C compiler unchanged.