are there any cons to linking libstdc++ with postgresql? - Mailing list pgsql-hackers

From Palle Girgensohn
Subject are there any cons to linking libstdc++ with postgresql?
Date
Msg-id 8FFBB25A91B839C87414A91C@palle.girgensohn.se
Whole thread Raw
Responses Re: are there any cons to linking libstdc++ with postgresql?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: are there any cons to linking libstdc++ with postgresql?  (Reini Urban <rurban@x-ray.at>)
List pgsql-hackers
Hi!

I'm not a linking guru... Is there a penalty for setting LDFLAGS+= -lstdc++ 
when building postgresql?

> Postgis includes a bunch of useful functions for manipulating spatial
> data. Some of them are provided by geos, a separate c++ library, with
> postgis providing wrappers.
>
> According to postgis docs, postgresql _must_ be configured with LDFLAGS
> containing -lstdc++ for this to work. I can confirm this.
>
> The postgis port provides the WITH_GEOS tunable, but it has no effect
> unless the above adjustment is made to postgresql. The port makes no
> mention of this. Is there a penalty in just leaving
>  LDFLAGS+= -lstdc++
> in the postgresql port Makefile? Bad idea? What do you think?

/Palle



pgsql-hackers by date:

Previous
From: Kevin HaleBoyes
Date:
Subject: Re: Tired of -Wold-style-definition already
Next
From: Tom Lane
Date:
Subject: Re: Tired of -Wold-style-definition already