| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | shridhar_daithankar(at)persistent(dot)co(dot)in, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: |
| Date: | 2003-07-24 14:00:05 |
| Message-ID: | Pine.LNX.4.56.0307241544440.3595@krusty.credativ.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)gmx(dot)net
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2003-07-24 14:04:28 | Re: libpq_r |
| Previous Message | Francisco Figueiredo Jr. | 2003-07-24 13:51:00 | Re: Why select * from function doesn't work when function |