contents.gifindex.gifprev1.gifnext1.gif

9.4.4 Relinking under UNIX

To relink the runtime under UNIX, use the "make" command. "make" uses a makefile to specify the components and attributes of the link. ACUCOBOL-85 and ACUCOBOL-GT runtimes are shipped with a file named "Makefile" to facilitate relinking.

To relink:

serv9000.gif Edit Makefile. In the makefile there are two sets of linking directives that control whether AcuServer support libraries are included in the link. These lines should look like:

# Use the following two lines for an AcuServer-DISABLED runtime.
#ACUSERVER_FLAGS = -DNO_CLIENT=1
#ACUSERVER_LIBS = # nothing
- no networking libraries are necessary

# Use the following two lines for an AcuServer-ENABLED runtime.
ACUSERVER_FLAGS =
ACUSERVER_LIBS = $(ACU_LIBDIR)/libclnt.a

Comment and uncomment the sets of lines as appropriate to achieve the desired end result. Make sure that only one set of directives is enabled (uncommented).

serv9000.gif Type "make" at the UNIX command line. "make" will perform the link and create an executable file.