From: | Lee Kindness <lkindness(at)csl(dot)co(dot)uk> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | 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-10-18 08:17:55 |
Message-ID: | 15310.36915.485582.458979@elsick.csl.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
It's really quite simple, the Sun C compiler (acc) does not understand
the -Wl flag, rather it passes the -R and -h options onto the linker
verbatim.
Given the only two (realistic) compiler choices under Solaris are gcc
and acc it makes sense to support then both 'out of the box'.
I keep a similar patch to Denis's (without the wierd hi-ascii
characters in his) lying around for when i build a Solaris version.
Regards, Lee Kindness.
Peter Eisentraut writes:
> Denis A Ustimenko writes:
>
> [change -Wl,-R to -R and -Wl,-h to -h]
>
> I'm having a difficult time understanding this. Both -R and -h are linker
> options, not compiler options. So while the compiler driver might be nice
> enough to recognize them as the former and pass them through, this change
> just pushes these chances, and it doesn't add any theoretical change of
> functionality.
>
> So, if you want this to be fixed, you're going to have to start with
> explaining your problem, and then we can start looking for solutions.
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | Lee Kindness | 2001-10-18 08:28:19 | Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed |
Previous Message | Alexey Borzov | 2001-10-18 08:04:06 | Re: To Postgres Devs : Wouldn't changing the select limit |