|
|
You compile programs that include ETI routines as C language programs. This means that you use the cc(1) command to invoke the C compiler. (Also see Programming in standard C and C++ for details).
The routines are usually stored
in the library /usr/ccs/lib/libX.a,
where X
signifies either curses, panel, menu, or form,
depending on which library your program needs.
To direct the link editor to search this library,
you must use the l option with the cc command.
The general command line for compiling an ETI program follows:
cc file.c [-lX] -locurses -o filewhere X is either panel, menu, or form; file.c is the name of the source program; and file is the executable object module. See the appropriate topic for more information.