Skip to content

Request to remove dependance on sed/flex/bison #986

@llvmbot

Description

@llvmbot
Bugzilla Link 614
Resolution FIXED
Resolved on Feb 22, 2010 12:48
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @lattner

Extended Description

I posted this to the list, and also talked to you guys on irc, and was asked to
submit a feature request. Here is my original message:


At the moment, LLVM includes the .l, .y sources that are compiled by
flex and biston via make. This is fine for most unix developers. For
windows developers, it's a bit more of a pain to download flex/bison,
but is still a one-time thing.

However, anyone releasing an llvm frontend will require their users to
have flex/bison. Most (but not all) unix boxes have them, but almost
no windows boxes have them. This requires either

  1. Forcing the user to dowload flex/bison (bad)

  2. Distributing flex/bison with the front-end (not as bad, but a pain)

  3. or, and this seems like a simple fix, just distribute the output of
    flex and bison along with the source. This is analagous to
    distributing "configure" along with "configure.ac".


The right solution is obviosly the 3'd one

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaenhancementImproving things as opposed to bug fixing, e.g. new or missing featurequality-of-implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions