TOC, 1, 2, 3,
4, 5, 6,
7, 8, 9,
10, 11, 12,
13, 14
3) COMPILING C-LINDA PROGRAMS
3.1) How do I get my C-Linda program to
link when I'm calling FORTRAN routines? C++ routines?
clc
links programs using the shell script linda_cc_link
.
Linda_cc_
link normally uses the C compiler to link Linda programs,
but the environment variable LINDA_CC_LINK can be used to specify an alternate
program for linking.
3.2) Can I ignore the warning messages
like
"prog.cl:10: warning --- no matching Linda
op."
This could mean that clc
noticed that a tuple is
being created with an out
or eval
, but is never
accessed with an in, inp, rd
, or rdp
. It is common
practice not to in tuples created with eval
, so that is a common
reason for the warning. But the message could mean that a tuple is being
in'd
that was never out'd
. If the in
is
executed, it is guaranteed to deadlock. Thus, the warning should be checked. If
it refers to an eval
, it is harmless.
3.3) How do I get a link map with
C-Linda?
On SunOS 4.1, use