File: README

package info (click to toggle)
grass 8.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 277,040 kB
  • sloc: ansic: 460,798; python: 227,732; cpp: 42,026; sh: 11,262; makefile: 7,007; xml: 3,637; sql: 968; lex: 520; javascript: 484; yacc: 450; asm: 387; perl: 157; sed: 25; objc: 6; ruby: 4
file content (50 lines) | stat: -rw-r--r-- 1,487 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
This library contains routines called both by client and drivers.

The low level communication is in the xdr*.c files. The routines
All the xdr*.c files create and destroy and XDRS structure.
the xdr_destroy() calls fflush() on the FILE * which is necessary
for the communication along both pipes to work properly.

The client stubs are in c_*.c files.

The driver implementation for any routine, say db_xxxx() is
to be named db_driver_xxxx().

The drivers must write the db_driver_xxxx()
For example
	db_ls()        /* client routine */
	db_driver_ls() /* driver routine */

----------------------------------------------------------
The following variables need to be supplied by gmake

XDRLIB:
    the library which contains the xdr_int(), et al routines
	sun:        none, seems that these are in -lc
	dg aviion:  none, seems that these are in -lc
	intergraph: XDRLIB = -lbsd
	linux0.99:  XDRLIB = -lrpclib
	mips:       XDRLIB = -lrpcsvc
	sgi:        XDRLIB = -lsun


USE_BUFFERED_IO:
    #define that says to not to call setbuf(fd, NULL) to force unbuffered io

	sun:    USE_BUFFERED_IO = -DUSE_BUFFERED_IO
	mips:   USE_BUFFERED_IO = -DUSE_BUFFERED_IO
    note:
	intergraph, sgi won't work unless io is unbuffered.
	sun, mips can use buffered io.

CC:
	mips: CC = /bsd43/bin/cc

---------------
The $DBMSCAP file should have the remote-shell full path in the
command and not let $PATH handle it.

	sun: /usr/ucb/rsh
	mips: /bin/net/rsh
	intergraph: /usr/bin/rcmd
	sgi: /usr/bsd/rsh