SCORECC(1)
USER COMMANDS
SCORECC(1)
NAME
scorecc - C compiler for SCore program.

SYNOPSIS
scorecc [option | filename]...

DESCRIPTION
The scorecc command compiles source files in the C language, and links object files for SCore.

Almost all the options of the standard cc driver may be specified as scorecc arguments.

OPTIONS
-script script
The script's default setting is used.

-compiler compiler
--compiler compiler
Specify the backend C compiler.

-compiler-path compiler_command
--compiler-path compiler_command
Specify the backend compiler. This option will override the compiler used for the compiling environment.

-env envname
Specify ?envname option. For example, you want to compile scash programs, please specify -env scash. If this option is not specified, the environment variable SCORE_COMPILER_ENV is used. If SCORE_COMPILER_ENV is not set, score is used.

-c
Compile only, do not link

-nockpt
--nocheckpoint
Disables all checkpointing facilities. Also disable all system call overrides for checkpoint.

-show
Verbose. Display the commands and arguments invoked by the scorecc script

ENVIRONMENT
SCORE_BUILD_COMPILERS
If -compiler option is not specified, the value of this variable is searched. The value of SCORE_BUILD_COMPILERS is space or comma separated list of script=compiler or compiler. If script matches with the -script option value or default script, compiler is used. If there is no matched entry with script and only the entry of compiler can be found, the compiler value is used. Otherwise system default is used.
SCORE_COMPILERS
If the -compiler-path option is not specified, this variable is serached for. SCORE_BUILD_COMPILERS is space or comma separated list of script=path or path. If script matches with the -script option value or default script, cpath is used. If there is no matched path entry and only the entry of path can be found, this path value is used. Otherwise system default is used.
SCORE_COMPILER_ENV
If -env option is not specified, the SCORE_COMPILER_ENV value is used.
SEE ALSO
environ(7) Providing Optional Compilers