There is no Windows (MSVC or MinGW) section to compile shared libraries (DLL):
This is intentional, as it may be incompatible/hard?
Ie. can mingw dll be used with a msvc build?
This is a working example with mingw:
C:\mingw\bin\gcc.exe -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -I. -I. -I../src/include -I.../src/include/port/win32
-DEXEC_BACKEND "-I.../src/include/port/win32" -c -o foo.o foo.c
C:\mingw\bin\gcc.exe -shared -o foo.dll foo.o
-fPIC seems not needed for this platform, but should -mms-bitfields
flag be used?
PGXS cannot be used directly as it is not included with the one click
installer (pg_config --pgxs returns an invalid path, no makefile
Do you think this could be included in the docs?
(recently we had a discussion about this in the spanish mailing list,
and seems to be unclear for most of us).
pgsql-docs by date
|Next:||From: Thom Brown||Date: 2010-08-25 21:54:01|
|Subject: Re: [DOCS] Example indenting|
|Previous:||From: Thom Brown||Date: 2010-08-25 19:21:15|
|Subject: Re: Primary Key index|