Re: testing for usable C compiler

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: testing for usable C compiler
Date: 2003-09-03 17:25:48
Message-ID: Pine.LNX.4.44.0309031921090.1035-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> 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 ...

Yes, unfortunately that involves that configure automatically mucks with
CFLAGS, which could have interesting side-effects on some platforms. For
example, on Tru64 it will add -std1, which is more strict than the -std
that we currently use.

Eventually, we'll have to deal with this anyway, because newer autoconf
versions do this automatically when you can AC_PROG_CC (blame yours truly
for that change), but it might not be the wisest thing to try right now.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Olivier PRENANT 2003-09-03 17:33:24 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Previous Message Kurt Roeckx 2003-09-03 17:14:08 Re: TCP/IP with 7.4 beta2 broken?