Re: 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: Re: testing for usable C compiler
Date: 2003-09-03 17:58:06
Message-ID: 29627.1062611886@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> 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.

Yeah. I would suggest doing it at the "check that C compiler still
works" stage, after we think we have all the CFLAGS. Couldn't we just
throw a prototyped function into that test program?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-03 17:58:53 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Previous Message Dan Langille 2003-09-03 17:54:01 Re: [HACKERS] What goes into the security doc?