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

From Lee Kindness
Subject Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed
Date
Msg-id 15310.36915.485582.458979@elsick.csl.co.uk
Whole thread Raw
In response to Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed
List 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
timeunderstanding this.  Both -R and -h are linker> options, not compiler options.  So while the compiler driver might
benice> enough to recognize them as the former and pass them through, this change> just pushes these chances, and it
doesn'tadd 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@gmx.net
http://funkturm.homeip.net/~peter>> > ---------------------------(end of broadcast)---------------------------> TIP 4:
Don't'kill -9' the postmaster
 


pgsql-hackers by date:

Previous
From: Matthew Hagerty
Date:
Subject: Re: PQstatus() detect change in connection...
Next
From: Alessio Bragadini
Date:
Subject: Re: How do I get a list of DB's or Tables with a postgres SQL statement?