User guide
18-85
DirectC Interface
Environment Variables
The following environment variables can be useful with DirectC. Bear
in mind that command line options override environment variables.
VCS_CC
Specifies the C compiler for VCS, same as the -cc compile-time
option.
VCS_CPP
Specifies the C++ compiler for the PLI and cmodule code
compilation, same as the -cpp compile-time option.
VCS_LD
Specifies the linker.
Extended BNF for External Function Declarations
A partial EBNF specification for external function declaration is as
follows:
source_text ::= description +
description ::= module | user_defined_primitive |
extern_function_declaration
extern_function_declaration ::= extern access_mode
extern_func_type extern_function_name (
list_of_extern_func_args ? ) ;
access_mode ::= ( "A" | "C" ) ?
Note:
If access mode is not specified then command line options
+abstract rules; default mode is "C".]