Skip site navigation (1) Skip section navigation (2)

Re: compilation problem

From: HS <mhossein(at)gmail(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: compilation problem
Date: 2005-10-13 03:53:23
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
The problem is that I have to use a statistical library which is written in
C++. My own code is in plain C.
If I compile the library source code separately and make the object file
using gcc, is there a way that I can change the postgres make files to link
that .o file to postgres (considering teh fact that the .o file's source
file was in C++)?


On 10/12/05, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> HS <mhossein(at)gmail(dot)com> writes:
> > I'd appreciate it if anyone could help me with this problem (adding a
> > C++ file that uses some C++ libraries to postrges).
> Learn to write plain C --- the backend is not a C++ program and cannot
> readily be turned into one.
> regards, tom lane

In response to

pgsql-ports by date

Next:From: Bruce MomjianDate: 2005-10-13 04:02:56
Subject: Darwin compile fixes
Previous:From: Tom LaneDate: 2005-10-12 23:12:49
Subject: Re: compilation problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group