Chapter Contents |
Previous |
Next |
Linking C Programs |
COOL enables you to use AR370 archives as follows:
arlib
option of the CLK370 CLIST to specify additional AR370 archives rather than
the DDname SASARLIB.
sascc370
command line.
It is also possible to use the ARLIBRARY control statement to specify an
archive to be used under the shell. See The ARLIBRARY Statement for more information.
Using the ARLIBRARY Control Statement |
ARLIBRARY ALPHA
ALPHA could be either an OS/390 DDname or a CMS filename. Refer to The ARLIBRARY Statement for additional information.
Specifying Archives from the Command Line |
COOL [filename1 [filename2 ...]] [(options[)]]
where filename1, filename2, and so on are the names of the files that are to be the primary input to COOL. Each file should have a filetype of TEXT and contain either object code or COOL/linkage editor control statements.
COOL [filename1 [filename2 ...]] LIB1 LIB2 [(options[)]]
COOL adds the specified AR370 archives to the list of AR370 archives to be used as autocall input.
Similarly, under the USS shell, you can specify the
names of AR370 archives to be processed by COOL on the
sascc370
command line. For example, the following command requests prelinking
and linking of the object module
main.o
, resolving references
from the archive named
subs.a
:
sascc370 -o shgame main.o subs.a
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.