@@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL 7.2
3
3
IRIX Specific
4
4
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
5
5
=======================================================
6
- last updated: $Date: 2001/12/03 19:33:35 $
6
+ last updated: $Date: 2001/12/19 18:50:48 $
7
7
8
8
current maintainer: Luis Amigo (lamigo@atc.unican.es)
9
9
original author: Luis Amigo (lamigo@atc.unican.es)
@@ -26,44 +26,41 @@ and r12000(ip35) processors, running IRIX 6.5.5m, 6.5.12 and 6.5.13 with
26
26
MIPSPro compilers version 7.30, 7.3.1.2m and 7.3.
27
27
28
28
Aside from the PostgreSQL source distribution, you will need GNU make
29
- (SGI's make will not do), and MIPSPro full ANSI C compiler.
29
+ (SGI's make will not do), andthe MIPSPro full ANSI C compiler.
30
30
31
- Until now there are problems trying toinstall withGNU's gcc, it is a known
32
- gcc bug (not fixedat current date, version 3.0) using functions that return
33
- some kind of structures. This bug affects functions like inet_ntoa,
34
- inet_lnaof, inet_netof, inet_makeaddr and semctl. It is supposed to be fixed
35
- by forcing code to link those functions with libgcc, but this has not been
36
- tested yet.
31
+ There are problems trying tobuild withGCC. It is a known gcc bug
32
+ (not fixedas of version 3.0) related to using functions that return
33
+ certain kinds of structures. This bug affects functions like
34
+ inet_ntoa, inet_lnaof, inet_netof, inet_makeaddr and semctl. It is
35
+ supposed to be fixed by forcing code to link those functions with
36
+ libgcc, but this has not been tested yet.
37
37
38
38
39
39
1.2)Anything special about the build/install procedure?
40
40
41
- In order to compile with cc you will need to:
41
+ In order to compile with cc you will need to execute :
42
42
43
- configure with- CC=cc
43
+ CC=cc ./configure
44
44
45
- Or you may editpostgres.../ src/templates/irix5
45
+ You maywant to edit src/templates/irix5 to include something like:
46
46
47
- including something like:
48
-
49
- CC=cc
50
47
CFLAGS='-O2'
51
48
LDFLAGS='-O2'
52
49
53
- It is a good place to improve performanceon postgresql , because here you
50
+ It is a good place to improve performanceof PostgreSQK , because here you
54
51
may use all MIPSPro power generating specific objects, see man cc.
55
52
56
- Other known problem is include location, it may be different from some
57
- compiler installations to others, if you are getting something like:
53
+ Another known problem is include location, it may be different from some
54
+ compiler installations to others. This may manifest itself with something like:
58
55
59
56
cc-1020 cc: ERROR File = pqcomm.c, Line = 427
60
57
The identifier "TCP_NODELAY" is undefined.
61
58
62
59
if (setsockopt(port->sock, IPPROTO_TCP, TCP_NODELAY,
63
60
64
61
Some versions include TCP definitions in <sys/xti.h>, so it is necessary to
65
- add #include <sys/xti.h> in/ src/backend/libpq/pqcomm.c and in
66
- src/interfaces/libpq/fe-connect.c
62
+ add #include <sys/xti.h> in src/backend/libpq/pqcomm.c and in
63
+ src/interfaces/libpq/fe-connect.c.
67
64
68
65
69
66
1.3)OK, it seemed to build and install, but the regression test fails.