testing for usable C compiler

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: testing for usable C compiler
Date: 2003-09-03 03:23:45
Message-ID: 4016.1062559425@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us>
To: Weiping He <laser(at)zhengmai(dot)com(dot)cn>
cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] configure error in HP-UX 11.00

Weiping He <laser(at)zhengmai(dot)com(dot)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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-03 03:29:08 Re: pg_get_triggerdef w/ pretty print
Previous Message Christopher Kings-Lynne 2003-09-03 03:20:05 pg_get_triggerdef w/ pretty print