Re: [pgsql-hackers-win32] Build with Visual Studio & MSVC

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Chuck McDevitt" <cmcdevitt(at)greenplum(dot)com>, "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>, <uniware(at)zedware(dot)org>
Subject: Re: [pgsql-hackers-win32] Build with Visual Studio & MSVC
Date: 2006-05-05 18:02:23
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0F96C@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> VC++6.0 isn't a very good compiler and it's not very compatible with
> gcc, while Visual Studio 2005 compiler is much more
> compatible and has a better optimizer.
>
> Plus, VC++6.0 had a closed "proprietary" data format for .dsp
> and .dsw files, while the current Visual Studio uses a
> standard XML format.
>
> Finally, Microsoft gives away (as in free, no cost) Visual
> C++ Express edition, which includes the current compiler.
>
> I don't see any reason we'd want to target VC++6.0.
>
>
> P.s. With the current Visual Studio, it's easy to add Bison
> and Flex custom rules, so that it automatically calls them
> for .y and .l files.

Right. It can be done. It's not quite that easy though - we need to
rename the output files as well, the default names generated by
bison/flex won't work.

//Magnus

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-05-05 18:09:29 Re: 8.1.3 and unused files
Previous Message Rod Taylor 2006-05-05 17:53:06 8.1.3 and unused files