testing for usable C compiler - Mailing list pgsql-hackers

From Tom Lane
Subject testing for usable C compiler
Date
Msg-id 4016.1062559425@sss.pgh.pa.us
Whole thread Raw
Responses Re: testing for usable C compiler  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
BTW, would it be possible to tweak configure's test for "minimum working
C compiler" to include a check that cc accepts ANSI-style function
prototypes?  That would allow us to bounce HP's lame excuse for a free
compiler with a slightly useful message ...
        regards, tom lane

------- Forwarded Message

Date:    Tue, 02 Sep 2003 23:17:20 -0400
From:    Tom Lane <tgl@sss.pgh.pa.us>
To:      Weiping He <laser@zhengmai.com.cn>
cc:      pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] configure error in HP-UX 11.00 

Weiping He <laser@zhengmai.com.cn> writes:
> I've put the config.log on:
> http://www.pgsqldb.org/config.log

configure:10847: cc -Ae -c +O2 -D_XOPEN_SOURCE_EXTENDED  conftest.c >&5
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.

Get a real compiler :-(

The "bundled" cc is a piece of junk that HP ought to be ashamed to ship.
You cannot build Postgres (or much of anything else) with it.  If you
don't want to shell out for HP's real C compiler, install gcc.
        regards, tom lane

------- End of Forwarded Message



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: pg_get_triggerdef w/ pretty print
Next
From: Tom Lane
Date:
Subject: Re: pg_get_triggerdef w/ pretty print