Re: installation: cc and gcc how to?

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Nilabhra Banerjee <nil_ban@yahoo.co.uk>, Bruce Momjian <pgman@candle.pha.pa.us>, bruc@stone.congenomics.com
Cc: pgsql-general@postgresql.org
Date: 2004-07-17T10:03:17Z
Lists: pgsql-general
Nilabhra Banerjee wrote:
> As par the installation guide the command should be
> something like
> ./configure CC={cc compiler path} CFLAGS='-O2 -pipe'
>
> But I cant understand the what does the CFLAG
> parameter mean. Could u please throw some light on
> that

The installation instructions say that you *can* override the default 
compiler flags with the CFLAGS variable, not that you have to.

> at least it would be helpful if u specify the
> exact configure command line u have used for Irix
> 6.5.20 native c compiler.

./configure CC=cc
make
make install

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/