This HTML automatically generated with rman for NEMO
Table of Contents

Name

nemocc, cc - NEMO’s C compiler (deprecated)

Synopsis

cc [options] ... sourcefile ...

Description

This script is deprecated since NEMO V3 (2001) when we switched over to used autoconf. All compile options now have to be passed via $NEMOLIB/makedefs

The cc command (see also cc(1) ) is normally available as a shell script in the $NEMOBIN directory, which should be part of your search path, and be found before any of the C compilers on your local system is found. In this way we isolate system dependant compiler flags into this script. The script then calls the system compiler (e.g. /bin/cc, /usr/lang/acc etc.) with the flags set. The flags we most commonly we use are:


-Idir    add dir to include files search path
-Ldir    add dir to -llibrary files search path

Files


$NEMO/src/scripts/cc.d    Various cc.* shell script examples

See Also

B. W. Kernighan and D. M. Ritchie, "The C Programming Language" , Prentice-Hall, 1978

NEMO Users and Programmers Guide.

History


6-nov-93    document written    PJT
6-jul-01    NEMOBIN/cc deprecated, but kept for historic reasons    PJT