Skip site navigation (1) Skip section navigation (2)

Re: writing backend extensions using Visual Studio

From: Greg Landrum <greg(dot)landrum(at)gmail(dot)com>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: writing backend extensions using Visual Studio
Date: 2005-03-28 19:45:45
Message-ID: 60825b0f0503281145480afd39@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
When I switched to using mingw to compile the library containing my
extension functions, everything works fine.

This wasn't a trivial undertaking, and I'd certainly prefer to be able
to use MSVC to build the libraries, but I now have a working extension
library and that's the most important thing at the moment.

For the sake of anyone following later: If you're using postgresql 8.0
under windows and you want to build extension libraries, it looks like
you need to use mingw to build the libraries. You'll also need to
build a local copy of postgresql itself in order to get the
appropriate libraries and header files; it seems that the development
files distributed with the win32 installer aren't sufficient to the
task.

Thanks to everyone for the help,
-greg

In response to

pgsql-hackers-win32 by date

Next:From: Dave PageDate: 2005-03-28 21:05:58
Subject: Re: writing backend extensions using Visual Studio
Previous:From: Greg LandrumDate: 2005-03-26 19:18:04
Subject: Re: writing backend extensions using Visual

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group