Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed
Date
Msg-id Pine.LNX.4.30.0111072040200.835-100000@peter.localdomain
Whole thread Raw
In response to Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed &  (Lee Kindness <lkindness@csl.co.uk>)
Responses Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql/src/backend/postmaster postmaster.c
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql/src/backend/postmaster postmaster.c