Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  GENCC(1M)       (C Programming Language Utilities)      GENCC(1M)



  NAME
       gencc - create a front-end to the cc command

  SYNOPSIS
       gencc

  DESCRIPTION
       The gencc command is an interactive command designed to aid
       in the creation of a front-end to the cc command. Since
       hard-coded pathnames have been eliminated from the C
       Compilation System (CCS), it is possible to move pieces of
       the CCS to new locations without recompiling the CCS.  The
       new locations of moved pieces can be specified through the
       -Y option to the cc command.  However, it is inconvenient to
       supply the proper -Y options with every invocation of the cc
       command.  Further, if a system administrator moves pieces of
       the CCS, such movement should be invisible to users.

       The front-end to the cc command which gencc generates is a
       one-line shell script which calls the cc command with the
       proper -Y options specified.  The front-end to the cc
       command will also pass all user supplied options to the cc
       command.

       gencc prompts for the location of each tool and directory
       which can be respecified by a -Y option to the cc command.
       If no location is specified, it assumes that that piece of
       the CCS has not been relocated.  After all the locations
       have been prompted for, gencc will create the front-end to
       the cc command.

       gencc creates the front-end to the cc command in the current
       working directory and gives the file the same name as the cc
       command.  Thus, gencc can not be run in the same directory
       containing the actual cc command. Further, if a system
       administrator has redistributed the CCS, the actual cc
       command should be placed somewhere which is not typically in
       a user's PATH (e.g., /lib).  This will prevent users from
       accidentally invoking the cc command without using the
       front-end.


  Page 1                                                   May 1989


















  GENCC(1M)       (C Programming Language Utilities)      GENCC(1M)



  CAVEATS
       gencc does not produce any warnings if a tool or directory
       does not exist at the specified location. Also, gencc does
       not actually move any files to new locations.

  FILES
       ./cc                  front-end to cc

  SEE ALSO
       cc(1).
































  Page 2                                                   May 1989
















Typewritten Software • bear@typewritten.org • Edmonds, WA 98026