First Last Prev Next    No search results available
Details
: Request to remove dependance on sed/flex/bison
Bug#: 614
: Build scripts
: autoconf
Status: RESOLVED
Resolution: FIXED
: All
: All
: trunk
: P2
: enhancement
: 1.6

:
: new-feature, quality-of-implementation
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Alexander Friedman <alex@inga.mit.edu>
Assigned To: Reid Spencer <rspencer@reidspencer.com>
:

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2005-08-05 13:26
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
------- Comment #1 From Chris Lattner 2005-08-05 13:28:51 -------
FWIW, I totally agree.  We just need someone to whip up a patch :)
------- Comment #2 From Reid Spencer 2005-08-11 12:46:55 -------
Mine
------- Comment #3 From Reid Spencer 2005-08-11 12:58:00 -------
A quick look at this indicates that it isn't completely trivial to save the
output of flex/bison in the sources. When OBJDIR != SRCDIR, flex gets confused
and code changes are required. This is going to take some monkeying around so
I'll have to wait until the weekend to resolve this.

Reid.

First Last Prev Next    No search results available