Re: - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re:
Date
Msg-id Pine.LNX.4.56.0307241544440.3595@krusty.credativ.de
Whole thread Raw
In response to Re:  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re:  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian writes:

> The strange thing is that accoring to template/freebsd, libc_r was
> _added_ in FreeBSD 5.0, while most OS are moving away from separate
> threaded libs.

The template is wrong.  libc_r has existed in FreeBSD for quite a while,
but your're not supposed to use it directly.  Instead, you use the flag
-pthread, which takes care of libc_r and possibly other things (possibly
more things than we like?).  In fact, if you specify -lc_r directly, then
the compiler driver will also link in the normal libc, resulting in
complete desaster.

-- 
Peter Eisentraut   peter_e@gmx.net


pgsql-hackers by date:

Previous
From: "Francisco Figueiredo Jr."
Date:
Subject: Re: Why select * from function doesn't work when function
Next
From: Lee Kindness
Date:
Subject: Re: libpq_r