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

multiple files or adding a libfile.a to a

From: Lonnie Cumberland <lonnie_cumberland(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: multiple files or adding a libfile.a to a
Date: 2001-04-15 02:21:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Hello All,

I guess that my question from the previous messages can be simplified to ask
how can I add multiple files to a single "" file being generated.

for example if I have three files:

and am currently using this compile line:

g++ -I./include -I./backend -O2 -Wall
-Wmissing-prototypes -Wmissing-declarations -I/usr/include/pgsql -I/usr/include
-fpic -c -o funcs.o

g++ -shared -o funcs.o
then how can I add ALL of the files to this so that it can be loaded
by the PL/pgSQL parser and I can use my functions.

Originally, I have the 3 funcs files compiled into a libcryptopp.a, but I was
thinking that it might be easier to try and just add all of the sources
although there should be a was to simply add the libcryptopp.a file.

Any ideas on this?


Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.

pgsql-interfaces by date

Next:From: Brett W. McCoyDate: 2001-04-15 04:20:03
Subject: Re: DBD::Pg 0.96 and DBI 1.15 ignoring username and password
Previous:From: Lonnie CumberlandDate: 2001-04-15 01:55:42
Subject: what about external libraries?

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