what about external libraries? - Mailing list pgsql-interfaces

From Lonnie Cumberland
Subject what about external libraries?
Date
Msg-id 20010415015542.92098.qmail@web12504.mail.yahoo.com
Whole thread Raw
Responses Re: what about external libraries?
List pgsql-interfaces
Hello All,

I finally was able to get the EXTERN "C" statement to work while compiling my
postgresql extension c++ functions.

No my question is on how to handle my external library?

In my external funcs.cc program, I am calling using some functions that are in
"libcryptopp.a" and now the task is to let the "funcs.so" know how to link to
this as well, although it appears that we do not actually do any linking or I
could simply use the "-lcrypt" command line parameter with g++

Does anyone know how to do this?

Cheers,
Lonnie

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/


pgsql-interfaces by date:

Previous
From: Lonnie Cumberland
Date:
Subject: Re: g++ not working for postgresql extension languages?
Next
From: Lonnie Cumberland
Date:
Subject: multiple files or adding a libfile.a to a file.so