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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: [HACKERS] Build with Visual Studio & MSVC


  • From: Andrew Dunstan <andrew(at)dunslane(dot)net>
  • To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
  • Cc: Chuck McDevitt <cmcdevitt(at)greenplum(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
  • Subject: Re: [HACKERS] Build with Visual Studio & MSVC
  • Date: Fri, 09 Sep 2005 15:18:09 -0400
  • Message-id: <4321DFF1(dot)10706(at)dunslane(dot)net>



Dave Page wrote:


    Just for fun, I went through PostgreSQL 8.1 and did a complete
    build using Microsoft’s C and the latest Visual Studio.

    With a few minor tweaks, everything compiled with no errors.

    My assumption is that because PostgreSQL is a UNIX/Linux-centric
    project (and gcc/gdb centric), this really isn’t of much interest
    to anyone.

    So other than this e-mail, I don’t plan to do anything with this
    except for my own amusement.

    If I’m wrong, and there is some real interest in supporting MSVC,
    let me know, and I’ll put some work into cleaning it up and making
    patches out of it, etc.

Hi Chuck,

We discussed this again on list only the other day in fact! Basically we're not particulalry interested in supporting VS prject files in place of gmake/autoconf, purely because they will undoubtedly cause maintenance headaches as the majority of our developers don't have Windows boxes, let alone a copy of Visual Studio.

However, if you need something to keep yourself amused (unless I can persuade you to come help out with psqlODBC :-) ), we would be interested in patches that allow us to use Microsoft's compiler as an alternative to gcc.

It's interesting to know it built fairly easily though...



There is also a pgfoundry project for maintaining Visual Studio project files. see http://pgfoundry.org/projects/vcproject/


cheers

andrew





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group