Hello List,
I don't use c/c++ too often, and when I do, it's in a Unix environement.
The software I've written usually just compiles.
I've got a simple application that I'm trying to compile on Windows with
the Dev-cpp environment (Dev-c++ 5.0 b7, gcc 2.95.3). It uses the
PostgreSQL C library called libpq. I seem to be having trouble getting
the mingw32 environment set up to compile libpq programs though. For
simplicity sake, I'm starting out with a sample program used for
explanation at the url:
http://www.ca.postgresql.org/docs/aw_pgsql_book/node147.html
On Linux I compile the program by doing:
cc pg_test.c -o pg_test -lpq
However I'm not able to compile to get the same results in devc++.
Has anyone had any luck with the postgres client library, and if so, can
you ouline the steps you used to set up your environment?
Thanks in advance,
--
Matthew Nuzum
www.bearfruit.org
co...@be...
|