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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, 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-11 02:58:22
Message-ID: 200111110258.fAB2wMS17901@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Was this resolved and applied?

---------------------------------------------------------------------------

> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Ryan 2001-11-11 03:36:14 Re: OT?: PGReplication project dead?
Previous Message Tom Lane 2001-11-10 20:16:41 Re: Bug?? -- Alter table drop constraint doesn't seem to work on a primary key constraint in 7.2beta2