Skip to content

Commit 6ba959e

Browse files
committed
AIX patches from Andreas.
1 parent 31e3634 commit 6ba959e

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

doc/FAQ_AIX

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ if you have readline or libz there:
1212
libpq++ does not work because xlC does not have the string and bool classes.
1313
compiling the few files, that fail, with g++ does work.
1414

15-
Compiling PostgreSQL with gcc (2.95.2) on AIX does work if you use the
16-
configure option: --with-template=aix_gcc
15+
Compiling PostgreSQL with gcc (2.95.2) on AIX also works.
1716

18-
There will probably be warnings about int8 - int64 redefines and 0.0/0.0
19-
devision warnings, which you can safely ignore.
17+
There will probably be warnings about int8 - int64 redefines, 0.0/0.0
18+
division and duplicate symbol warnings which you can safely ignore.

src/template/aix

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
if test "$GCC" = yes ; then
2-
CFLAGS=-pipe
2+
CFLAGS='-O2 -pipe'
33
else # not GCC
4+
CFLAGS='-O2 -qmaxmem=16384 -qsrcmsg -qlonglong'
45
case $host_os in
5-
aix3.2.5)
6-
CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg'
7-
;;
8-
aix4.1)
9-
CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero'
10-
;;
11-
aix4.2 | aix4.3)
12-
CFLAGS='-qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong'
13-
;;
6+
aix3.2.5 | aix4.1*)
7+
CFLAGS='-qmaxmem=16384 -qsrcmsg' ;;
148
esac
159
fi # not GCC

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy