From: barreiro@arrakis.es
To: Michael Meskes <meskes@postgreSQL.org>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Error linking C++ code.
Date: Mon, 10 May 1999 21:13:03 +0200 (MEST)
Message-ID: <XFMail.990510211303.barreiro@arrakis.es> (raw)
In-Reply-To: <19990504084527.A1698@gmx.net>
On 04-May-99 Michael Meskes wrote:
> On Mon, May 03, 1999 at 10:09:32PM +0200, barreiro@arrakis.es wrote:
>> gcc -c -o lml.o lml_prueba.cc -I/usr/include/g++ -I/usr/include/pgsql
>> -L/usr/lib/pgsql -lpq -lpq++ -lstdc++
>
> Hmm, this command line is kind of strange. First of all the c++ compiler is
> named g++ not gcc. Then it seems you only want to compile and link the code
> (hence the -c) but why do you give linker options (-l*)?
>
That's right Michael, I use g++ but I write this mail to hasty.
6.4.2 postgres release solve my problems.
Thank's
Manuel de Vega Barreiro. barreiro@arrakis.es En un lugar de la red
Madrid. EspaƱa. de cuyo nombre no quiero
http://www.croftj.net/~barreiro Linux Landia acordarme..........
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: barreiro@arrakis.es, meskes@postgreSQL.org
Subject: Re: [INTERFACES] Error linking C++ code.
In-Reply-To: <XFMail.990510211303.barreiro@arrakis.es>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox