testing for usable C compiler

Поиск
Список
Период
Сортировка
От Tom Lane
Тема testing for usable C compiler
Дата
Msg-id 4016.1062559425@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: testing for usable C compiler  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: pg_get_triggerdef w/ pretty print
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_get_triggerdef w/ pretty print