Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 95668f0

Browse files
committed
Minor improvements
1 parent 41acf3d commit 95668f0

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

doc/FAQ_IRIX

+16-19
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL 7.2
33
IRIX Specific
44
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
55
=======================================================
6-
last updated: $Date: 2001/12/03 19:33:35 $
6+
last updated: $Date: 2001/12/19 18:50:48 $
77

88
current maintainer: Luis Amigo (lamigo@atc.unican.es)
99
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
2626
MIPSPro compilers version 7.30, 7.3.1.2m and 7.3.
2727

2828
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), and the MIPSPro full ANSI C compiler.
3030

31-
Until now there are problems trying to install with GNU's gcc, it is a known
32-
gcc bug (not fixed at 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 to build with GCC. It is a known gcc bug
32+
(not fixed as 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.
3737

3838

3939
1.2) Anything special about the build/install procedure?
4040

41-
In order to compile with cc you will need to:
41+
In order to compile with cc you will need to execute:
4242

43-
configure with-CC=cc
43+
CC=cc ./configure
4444

45-
Or you may edit postgres.../src/templates/irix5
45+
You may want to edit src/templates/irix5 to include something like:
4646

47-
including something like:
48-
49-
CC=cc
5047
CFLAGS='-O2'
5148
LDFLAGS='-O2'
5249

53-
It is a good place to improve performance on postgresql, because here you
50+
It is a good place to improve performance of PostgreSQK, because here you
5451
may use all MIPSPro power generating specific objects, see man cc.
5552

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:
5855

5956
cc-1020 cc: ERROR File = pqcomm.c, Line = 427
6057
The identifier "TCP_NODELAY" is undefined.
6158

6259
if (setsockopt(port->sock, IPPROTO_TCP, TCP_NODELAY,
6360

6461
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.
6764

6865

6966
1.3) OK, it seemed to build and install, but the regression test fails.

0 commit comments

Comments
 (0)