Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 83 -
Confirm that the contents of "taskall.map" file after linking of the
application and that the FAR_BSS_1\FAR_BSS segment is not generated if you
use the later version of xlink386 ver 1.5.
The memory card file size, which is specified in "*.o2m" file used by
omf2mem command, is specified such as it includes FREE_MEM_SEG segment. If
static variables are defined in "sramver.c" file, the initial values are
placed after the FREE_MEM_SEG segment. It is not necessary to include in
memory card file. The error messages may be displayed by omf2mem command,
this is not problems.
And more, if you use xlink386 ver 1.2b, care the following rule.
"The static data whose individual size is equal to or more than
32KB must NOT have the initial value."
Because xlink386 ver 1.2b doesn't outputs the block correctly, when the
block whose individual size is equal to or more than 32KB has any initial
data. If you want to define any initial data, divide the large block to
multiple small blocks less than 32KB. This rule is not applied to the block
that has no initial data. Also, xlink386 except ver 1.2b doesn't restrict
like this.
(Ex.) static char buf1[40000] = { '\0' } ; NG
static char buf2[40000] ; OK
static char buf3[20000] = { '\0' } ; OK
2.3 Environment variables
The following environment variables are referred in MAKEFILE.
FCTOOL specifies where the tools of C Executor are installed.
(default: ..\TOOL)
FCLIB specifies where the library files of C Executor are installed.
(default: ..\LIB)
FCINC specifies where the header files of C Executor are installed.
(default: ..\INC)
If the working directory is a child directory of \APP, these definitions
are unnecessary.
CCOPT specifies command line options of MS-C's CL command. If no
options are necessary, this variable must not be defined.
2.4 Special files
The following files are special files, whose usage is reserved.
VERSION.C : Definition file of the user application's version
number. (must be required)