Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed
Дата
Msg-id Pine.LNX.4.30.0111072040200.835-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed &  (Lee Kindness <lkindness@csl.co.uk>)
Ответы Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Lee Kindness writes:

>  1. The patch will not harm Sun compilers which do support -Wl
>  2. It will help those who do not
>  3. We need to investigate which versions do/don't support the option,
>     it seems odd that (my) V4 compiler does not and Denis's V6.2
>     doesn't but I imagine Peter Eisentraut's does...

Okay, I figured it out:

The Solaris C compiler uses -Wl to pass options to the linker (like
everyone else).  But the Solaris C++ compiler uses '-Qoption ld' to pass
options to the linker.  Words are not sufficient...

So I guess that this patch is okay if you can assert that #1 above is
true.  If it isn't we'll find out soon enough.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql/src/backend/postmaster postmaster.c
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql/src/backend/postmaster postmaster.c