Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
Дата
Msg-id 200403191846.i2JIkJ518326@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom Lane wrote:
> >> It seems that what we have to do for Unixware is add
> >> -Kpthread to LDFLAGS; is that correct?
>
> > Unusually, this platform doesn't have a THREAD_LIBS setting, only
> > THREAD_CPPFLAGS. so I have to use that.
>
> If Larry quoted the Compiler Guys correctly, then that is *wrong*,
> and we should put -Kpthread into THREAD_LIBS.

Yes, his patch ended up adding this to THREAD_LIBS, but
template/unixware has:

For gcc:

  THREAD_CPPFLAGS="-pthread"

and for non-gcc:

  THREAD_CPPFLAGS="-K pthread"

Larry, are these wrong?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use