Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 89 -
<task1.dat>
#[<OBJLIST1.TMP] <-- add library name in the next line to this.
-lnk
-386
-multiseg
-print(TASK1.map)
-output(TASK1.lnk)
-pubmap
-debug
-isymbols
-oneblkdef
-nowarnings( 18 )
-case
#[N]
-nopublics except( TASK1 )
#[R]
#[<RENAME1.TMP]
For example, in the case that the new libraries, basic.lib and mylib.lib,
for the Main task have been made, modify task1.dat as follows.
#[<OBJLIST1.TMP]
a:\lib\basic.lib <-- add these 2 lines.
a:\lib\mylib.lib <--
-lnk
-386
-multiseg
-print(TASK1.map)
-output(TASK1.lnk)
-pubmap
-debug
-isymbols
-oneblkdef
-nowarnings( 18 )
-case
#[N]
-nopublics except( TASK1 )
#[R]
#[<RENAME1.TMP]
By modification of the template file like this, the user library will
be link by the execution of nmake command.
There is another way to link the user library in addition to the way
mentioned above. That is to describe library file names directly on "TASKx="
line in "makefile". For example, the Main task is constituted from the
following modules;
TASK1 = main.obj msg.obj tool.obj util.obj
If you make a library mainlib.lib including tool.obj and util.obj, you can
specify this library file like this;
TASK1 = main.obj msg.obj mainlib.lib
other than editing task1.dat file as mentioned above.