configure check for flex

Bruce Korb
Mon Jan 27 15:10:00 GMT 2014

On Sun, Jan 26, 2014 at 9:38 PM, Hans-Peter Nilsson <> wrote:
> On Sun, 8 Dec 2013, Bruce Korb wrote:
>> On 12/08/13 13:06, Gerald Pfeifer wrote:
>> > Lovely.  Thank you very much!
> (Looks like nobody replied to this and it isn't committed.)

> No, flex isn't "required to build GCC" as a hard and fast rule.
> It's not required for releases, just when building from a svn
> checkout (or really: when the flex-generated files are not in
> the source directory).
> You'd need some additional conditions.  There might be the
> additional issue that any "lex" is expected to work too, not
> just "flex".

It isn't committed 'cuz nobody said, "Okay."
I do wish either someone would say, "Okay." or come up with something
that works.
I went to the effort to figure out where things got off the rails and
did something that
worked for me.  Just saying, "That won't work" without a workable alternative
is a bit irritating.

I do not know the difference between a checkout build and a "normal"
configured build.  My understanding was that generated files were to
be part of the repo and that there was *not* a difference.  If there is,
then someone who understands the difference could maybe add some
configure infrastructure to test the environment and decide if flex (or lex)
was needed, rather than just say, "what you did won't work."

More information about the Gcc-patches mailing list