From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use |
Date: | 2004-03-19 19:48:54 |
Message-ID: | Pine.UW2.4.58.0403191348070.13080@lerami.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
On Fri, 19 Mar 2004, Bruce Momjian wrote:
> Tom Lane wrote:
> > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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?
Nope, those work, and should be passed to any libpq-using programs
link step if --enable-thread-safety is used.
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-03-19 19:53:26 | Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use |
Previous Message | Bruce Momjian | 2004-03-19 18:46:19 | Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use |