How I can add new function writing on C under Win32 for PostgreSQL v 8.0.1

From: deeps1 <deeps(at)cg(dot)ukrtel(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: How I can add new function writing on C under Win32 for PostgreSQL v 8.0.1
Date: 2005-02-05 11:54:32
Message-ID: 623520177.20050205135432@cg.ukrtel.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-general

Hello pgsql-committers,

How I can compiling and linking Dynamically-Loaded Functions on Win32?

In Docs describe all platforms BSD , FreeBSD,

Linux for example
The compiler flag to create PIC is -fpic. On some platforms in some situations -fPIC must be used if -fpic does not work. Refer to the GCC manual for more information. The compiler flag to create a shared library is -shared. A complete example looks like this:

cc -fpic -c foo.c
cc -shared -o foo.so foo.o

but no describe under Win32 for Postges 8.0.1 under Win32

--
Best regards,
deeps1 mailto:deeps(at)cg(dot)ukrtel(dot)net

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-02-05 19:38:59 pgsql: Marginal hack to merge adjacent ReleaseBuffer/ReadBuffer calls
Previous Message Neil Conway 2005-02-04 02:06:26 pgsql: Refactor some duplicated code in lock.c: create UnGrantLock(),

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2005-02-05 14:59:40 Re: Update command too slow
Previous Message Devrim GUNDUZ 2005-02-05 11:24:44 Re: How many connections now ?