DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Basic ETI programming

Compiling an ETI program

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   file
where 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.
Next topic: Using the TAM transition library
Previous topic: The purposes of initscr, refresh, and endwin in a program

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004