Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

FAQ_AIX

Blame
    • Bruce Momjian's avatar
      341cb700
      The following patch updates the FAQ_AIX and makes C++ code work with · 341cb700
      Bruce Momjian authored
      more recent versions of the IBM C++ compiler (now called VisualAge C++).
      The C++ part was previously broken (g++ and xlC), thus this is zero risk.
      Only AIX specific parts are touched (1 Makefile.shlib line (link with $(COMPILER
      ) instead
      of $(CC) and one shell script line (parameter -C to nm to not demangle C++ symbo
      ls for
      .exp file)).
      
      I thus ask you to please apply this patch before release.
      
      With or without this patch RC1 on AIX 4.3.2 RS6000 passes "gmake check" for both
       the native
      compiler vac.C 5.0.1 and gcc 2.95.2 :-)
      
      Andreas
      341cb700
      History
      The following patch updates the FAQ_AIX and makes C++ code work with
      Bruce Momjian authored
      more recent versions of the IBM C++ compiler (now called VisualAge C++).
      The C++ part was previously broken (g++ and xlC), thus this is zero risk.
      Only AIX specific parts are touched (1 Makefile.shlib line (link with $(COMPILER
      ) instead
      of $(CC) and one shell script line (parameter -C to nm to not demangle C++ symbo
      ls for
      .exp file)).
      
      I thus ask you to please apply this patch before release.
      
      With or without this patch RC1 on AIX 4.3.2 RS6000 passes "gmake check" for both
       the native
      compiler vac.C 5.0.1 and gcc 2.95.2 :-)
      
      Andreas
    FAQ_AIX 1.13 KiB
    From: Zeugswetter Andreas <ZeugswetterA@wien.spardat.at>
    Tue Mar 27 10:47:31 MSZ 2001
    
    On AIX 4.3.2 PostgreSQL compiled with the native IBM compiler xlc 
    (vac.C 5.0.1) passes all regression tests.
    Other versions of OS and compiler should also work. If you don't have a 
    powerpc or use gcc you might see rounding differences in the geometry
    regression test.
    
    Use the following configure flags in addition to your own
    if you have readline or libz there:
    --with-includes=/usr/local/include --with-libraries=/usr/local/lib
    
    If you need libpq++ and have trouble --with-CXX=xlC make sure you have
    installed the appropriate C++ include files and use a C++ version that
    supports the string class (e.g. VisualAge C++ filesets vacpp.cmp.batch 5.0
    and vacpp.cmp.include 5.0).
    
    There will probably be warnings about int8 - int64 redefines, 0.0/0.0
    division and duplicate symbol warnings which you can safely ignore.
    
    Compiling PostgreSQL with gcc (2.95.2) on AIX also works.
    Use the configure flags: --with-CC=gcc
    
    Since the mktime() function does not work on AIX for dates before
    1970, all localtime formatted datetimes will not use summer time for
    dates before 1970.