Обсуждение: what about external libraries?

Поиск
Список
Период
Сортировка

what about external libraries?

От
Lonnie Cumberland
Дата:
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/


Re: what about external libraries?

От
Peter Eisentraut
Дата:
Lonnie Cumberland writes:

> 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++

It would surely have to be -lcryptopp.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter