Re: What's the best way to get flex and bison on Windows?

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: What's the best way to get flex and bison on Windows?
Date: 2019-12-16 02:46:25
Message-ID: 20191216024625.GB2344@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Dec 16, 2019 at 11:25:55AM +1300, Thomas Munro wrote:
> You can see MinGW, MSYS and Cygwin there, and I suspect that one of
> those is the answer, but I'm not familiar with them or what else might
> be available to install popular F/OSS bits and pieces on that
> operating system, because I really only know how to Unix. Maybe flex
> and bison are already installed somewhere or easily installable with a
> shell command? Would someone who knows about development on Windows
> like to make a recommendation, or perhaps provide a tweaked version of
> the attached patch[1]?

On my Windows workstations, I use bison and flex bundled in MinGW
which are located under c:\MinGW\msys\1.0\bin\. (Then, for a MSVC
build, I just append this path to $ENV{PATH} with a semicolon to do
the separation but that's a separate story).
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-12-16 02:49:56 Re: error context for vacuum to include block number
Previous Message Michael Paquier 2019-12-16 02:40:07 Re: psql's \watch is broken