Re: [HACKERS] Build with Visual Studio & MSVC

Andrew Dunstan <[email protected]> Fri, 09 Sep 2005 15:18:09 -0400
Newsgroups gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.general
Message-ID <[email protected]>

Dave Page wrote:

>
>     Just for fun, I went through PostgreSQL 8.1 and did a complete
>     build using Microsoft=92s 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=92t of much interest
>     to anyone.
>
>     So other than this e-mail, I don=92t plan to do anything with this
>     except for my own amusement.
>
>     If I=92m wrong, and there is some real interest in supporting MSVC,
>     let me know, and I=92ll put some work into cleaning it up and makin=
g
>     patches out of it, etc.
>
> Hi Chuck,
>
> We discussed this again on list only the other day in fact! Basically=20
> we're not particulalry interested in supporting VS prject files in=20
> place of gmake/autoconf, purely because they will undoubtedly cause=20
> maintenance headaches as the majority of our developers don't have=20
> Windows boxes, let alone a copy of Visual Studio.
>
> However, if you need something to keep yourself amused (unless I can=20
> persuade you to come help out with psqlODBC :-) ), we would be=20
> interested in patches that allow us to use Microsoft's compiler as an=20
> alternative to gcc.
>
> It's interesting to know it built fairly easily though...
>


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


cheers

andrew



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq