1 .TH EM_CEMCOM 6 "$Revision: 3.10 $"
4 em_cemcom \- C to EM compiler
6 .B ~/em/lib.bin/em_cemcom
7 [ options ] source [ destination [ namelist ] ]
9 \fICemcom\fP is a compiler that translates C programs
11 The input is taken from \fIsource\fP, while the
12 EM code is written on \fIdestination\fP.
13 If either of these two names is "\fB-\fP", standard input or output respectively
15 The file \fInamelist\fP, if supplied, will contain a list of the names
16 of external, so-called \fBcommon\fP, variables.
17 When the preprocessor is invoked to run stand-alone, \fIdestination\fP
18 needs not be specified.
20 \fIOptions\fP is a, possibly empty, sequence of the following combinations:
21 .IP \fB\-D\fIname\fR=\fItext\fR
23 define \fIname\fR as a macro with \fItext\fR as its replacement text.
26 the same as \fB\-D\fIname\fR=1.
27 .IP \fB\-I\fIdirname\fR
29 insert \fIdirname\fR in the list of include directories.
31 set maximum identifier length to \fIn\fP.
33 produce a DBX-style symbol table.
35 do not generate EM register messages.
36 The user-declared variables are not stored into registers on the target
39 don't generate the EM \fBfil\fR and \fBlin\fR instructions
40 that usually are generated to enable
41 an interpreter to keep track of the current location in the source code.
43 generate code at each procedure entry to call the routine
45 and at each return to call the routine
47 These routines are supplied with one parameter, a pointer to a
48 string containing the name of the procedure.
49 .IP \fB\-A\fR[\fIfile\fR]
51 if \fIfile\fR is not given, generate a list
52 of makefile dependencies and write them to the standard output.
53 If \fIfile\fP is given,
54 generate the list of makefile dependencies on file \fIfile\fP.
56 when generating makefile dependencies, do not include files from
59 when generating makefile dependencies, generate them in the following format:
64 where "file.o" is derived from the source file name. Normally, only a list
65 of files included is generated.
67 interpret the input as restricted C (according to the language as
68 described in \fIThe C programming language\fR by Kernighan and Ritchie.)
71 get rid of the compiler-predefined macro \fIname\fR.
72 .IP \fB\-V\fIcm\fR.\fIn\fR,\ \fB\-V\fIcm\fR.\fIncm\fR.\fIn\fR\ ...
74 set the size and alignment requirements.
75 The letter \fIc\fR indicates the simple type, which is one of
76 \fBs\fR(short), \fBi\fR(int), \fBl\fR(long), \fBf\fR(float), \fBd\fR(double) or
78 The \fIm\fR parameter can be used to specify the length of the type (in bytes)
79 and the \fIn\fR parameter for the alignment of that type.
80 Absence of \fIm\fR or \fIn\fR causes the default value to be retained.
81 To specify that the bitfields should be right adjusted instead of the
82 default left adjustment, specify \fBr\fR as \fIc\fR parameter.
84 suppress warning messages
87 where \fItext\fR can be either of the above or
88 a debug flag of the compiler (which is not useful for the common user.)
89 This feature can be used in various shell scripts and surrounding programs
90 to force a certain option to be handed over to \fBcemcom\fR.
93 .IR ~em/lib.bin/em_cemcom :
96 All warning and error messages are written on standard error output.
98 Baalbergen, E.H., D. Grune, M. Waage ;"\fIThe CEM compiler\fR",
99 Informatica Manual IM-4