Compiling/Linking on win32

Поиск
Список
Период
Сортировка
От Milen Dzhumerov
Тема Compiling/Linking on win32
Дата
Msg-id 4415B99A.3090404@1nsp1r3d.co.uk
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposed p.tch for error locations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Proposed p.tch for error locations