The front-end to the cc command that gencc generates is a one-line shell script that 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 that 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 in a location that is not typically in a user’s path (for example, /usr/lib). Such placement will prevent users from accidentally invoking the cc command without using the front-end.
The gencc command is obsolete.