File: INSTALL

package info (click to toggle)
plotutils 2.4.1-15
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,072 kB
  • ctags: 6,952
  • sloc: ansic: 76,305; cpp: 12,402; sh: 8,475; yacc: 2,604; makefile: 894; lex: 144
file content (22 lines) | stat: -rw-r--r-- 1,052 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Please read the file README first; it describes the libxmi library.

To install libxmi as a standalone library, you would do the following.

1. Do `./configure', `make', and `make install', as usual.  This will
   install both libxmi and its header file, xmi.h.

2. Test libxmi by compiling and linking the sample program drawing.c.  You
   would do something like `gcc test.c -lxmi' or `gcc test.c -lxmi -lm' to
   obtain a file `a.out'.  If you invoke a.out, the pixmap described at the
   head of drawing.c should be written to standard output.

(You may also install libxmi as a rendering module in another source tree,
but the details of that are left to you.  See the file ./CUSTOMIZE for
useful hints.)

You may compile libxmi with a C++ compiler rather than a C compiler, by
doing something like `CC=c++ ./configure' instead of just `./configure'.

If you do use a C++ compiler, you should probably add "-DHAVE_BOOL" to
CFLAGS.  This will keep the Boolean datatype from being defined (for any
modern C++ compiler, it is defined automatically).