Re: V8.0rc1 On AIX. - Mailing list pgsql-hackers

From Christopher Browne
Subject Re: V8.0rc1 On AIX.
Date
Msg-id m3vfb43xs4.fsf@knuth.knuth.cbbrowne.com
Whole thread Raw
In response to Re: V8.0rc1 On AIX.  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Centuries ago, Nostradamus foresaw when twp@castle.fastmail.fm (Travis P) would write:
> Now, on my AIX 5.1 system, /usr/bin/ cc and cc_r are both just
> symlinks back to /usr/vac/bin/xlc.  The different program names just
> invoke the different settings.  Brad:  can you make such a symlink and
> compile with that?, for example:
> /home/u/brad/cc_r -> /usr/bin/xlc
> ./configure CC=/home/u/brad/cc_r ....

That would require that xlc be installed.  Neither cc, cc_r, xlc, nor
xlcc (or maybe it was xlcpp?) are available on the systems Brad and I
are using, so that symlink will not work.

As a result, _none_ of these may be remotely considered to be
"universal answers" on AIX.

In effect, there are two models for compiling PostgreSQL on AIX:
a) Using the VisualAge C family of compilers, that get named xlc, cc,   and cc_r, and
b) Using GCC, which means the compiler is called "gcc," and which   means that xlc, cc, and cc_r should not be
consideredas   candidates for command lines.
 

Introducing threading doesn't somehow make "cc_r" available for those
of us using GCC.
-- 
(reverse (concatenate 'string "gro.gultn" "@" "enworbbc"))
http://www3.sympatico.ca/cbbrowne/unix.html
"No, I'm not interested in developing a powerful brain.  All I'm after
is just  a mediocre  brain, something like  the president  of American
Telephone and Telegraph Company."  -- Alan Turing on the possibilities
of a thinking machine, 1943.


pgsql-hackers by date:

Previous
From: G u i d o B a r o s i o
Date:
Subject: double error msg [ 8.0 rc1 ]
Next
From: Mike G
Date:
Subject: Re: Dump from cygwin directly to windows