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 <[EMAIL PROTECTED]>
To:      Weiping He <[EMAIL PROTECTED]>
cc:      [EMAIL PROTECTED]
Subject: Re: [HACKERS] configure error in HP-UX 11.00 

Weiping He <[EMAIL PROTECTED]> 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


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to