Compiling/Linking on win32 - Mailing list pgsql-interfaces

From Milen Dzhumerov
Subject Compiling/Linking on win32
Date
Msg-id 4415B99A.3090404@1nsp1r3d.co.uk
Whole thread Raw
List pgsql-interfaces
Hi all,

I have two compilers on my win32 installations - MinGW and VS.NET2003. 
If I try to compile a libpq client with gcc using the following line
gcc main.c libpq.a -I../include -o test
It compiles fine but when I try to run it, it asks for libpq.dll (but I 
wanted to link statically libpq.a in). And I have no clue how to set up 
VS to build libpq applications. Any pointers are greatly appreciated.

Regards,
gamehack


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: Proposed p.tch for error locations
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Proposed p.tch for error locations