StandardMMCmdsDoc.tioga
Copyright Ó 1992, 1993 by Xerox Corporation. All rights reserved.
Last tweaked by Mike Spreitzer May 29, 1992 10:36 am PDT
Willie-s, May 3, 1993 6:30 pm PDT
StandardMMCmds
CEDAR 10.1 FOR INTERNAL XEROX USE ONLY
StandardMMCmds
Useful little commands for driving other compilers
Mike Spreitzer
Ó Copyright 1992, 1993 Xerox Corporation. All rights reserved.
Abstract: StandardMMCmds implements a few useful little commands for driving other compilers.
Created by: Mike Spreitzer, Eduardo Pellegri-Lopat
Maintained by: CedarImplementors <CedarImplementors:PARC:Xerox>
Keywords: Compile, C compile, Mesa compile
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. Commands
name Compile
syntax
Compile [-path <dir>+ htap-] [-O(0|1|2|3)] <Mimosa argument>*
description
Invokes Mimosa and MMCCMesa to effect a complete Mesa compilation. The optional path specification applies to the Mimosa step. The optimization-level specification applies to the MMCCMesa step.
The `Compile' command is currently specialized to only deal with `sun4' compilations, using the .c2c.* style. The resulting .c2c.o appears in the `sun4' subdirectory of the current directory.
examples

% Compile -path . ../../mob htap- -O0 UTGetPutImpl
Mimosa -c UTGetPutImpl . . . . . . no errors.
C compiling UTGetPutImpl . no errors.
%
compiles UTGetPutImpl for debugging, looking first in the current directory and then the uncle named `mob' for files referenced by Mimosa.
warnings
The `Compile' command is currently specialized to only deal with `sun4' compilations, using the .c2c.* style.
stop/undo
The STOP! button can interrupt the Mimosa or MMCCMesa step.
name MMCCMesa
Needs documenting
name MMCcConfig
Needs documenting
name MMCcC
Needs documenting
Profile options
Taking CLASS from the option:
MakeDo.UserClasses: name*
the code looks for:
StandardMMCmds.CLASS.lSwitchForConfig: rope literal
The rope literal will be used as the switches to the ld command issued for a config, instead of the default "-r".