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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Denis A Ustimenko <denis(at)oldham(dot)ru>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed
Date: 2001-11-08 00:26:14
Message-ID: Pine.LNX.4.30.0111072040200.835-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-11-08 00:26:31 Re: [COMMITTERS] pgsql/src/backend/postmaster postmaster.c
Previous Message Marc G. Fournier 2001-11-07 23:43:06 PostgreSQL v7.2b2 Released