Nupur,
On Thu, Nov 06, 2003 at 11:37:23AM -0500, Nupur Pande wrote:
> My makefile looks like this:
>
> RuleFinder.so: RuleFinder.o
> gcc -shared -lpostgres -L /usr/lib -o RuleFinder.so RuleFinder.o
Under Cygwin, the order of link command line arguments is important.
Does the following work?
gcc -shared -o RuleFinder.dll RuleFinder.o -lpostgres -L/usr/lib
Note you should use ".dll" not ".so" under Cygwin (i.e., Windows).
> Thanks for the help!
You are welcome, but next please include error messages.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6