Re: Optimization levels when compiling PostgreSQL...

Поиск
Список
Период
Сортировка
От Lamar Owen
Тема Re: Optimization levels when compiling PostgreSQL...
Дата
Msg-id 200209102211.40285.lamar.owen@wgcr.org
обсуждение исходный текст
Ответ на Re: Optimization levels when compiling PostgreSQL...  (Curt Sampson <cjs@cynic.net>)
Ответы Re: Optimization levels when compiling PostgreSQL...  (Curt Sampson <cjs@cynic.net>)
Список pgsql-hackers
On Tuesday 10 September 2002 09:31 pm, Curt Sampson wrote:
> On Wed, 11 Sep 2002, Peter Eisentraut wrote:
> > I disagree.  Choosing the compiler options is exactly the job of the
> > installer, packager, or distributor.

> If there is one, yes.

If the enduser is directly compiling the source, then that user is responsible 
for passing the flags desired -- they become their own packager.

> However, many users are not as knowledgable as packagers, but may
> still be compiling from source. For those people, I don't think it's
> unreasonable to say, "Use -O2 unless you know what you are doing."

I still remember when the Alpha port _required_ -O0.  And it was documented 
that way, IIRC.  

Compiling from source implies certain knowledge.  Automated from source 
builds, such as ports or linux distributions such as Gentoo can handle this 
in their own build systems. 

If someone can figure out how to override the default, then they can deal with 
the results, IMHO.
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: [JDBC] problem with new autocommit config parameter
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [JDBC] problem with new autocommit config parameter