commit | adddfba7ab9f640e9d02819909e53b7a220766ba | [log] [tgz] |
---|---|---|
author | Explorer09 <explorer09@gmail.com> | Sat Nov 26 23:47:12 2016 +0800 |
committer | Will Estes <westes575@gmail.com> | Thu Dec 29 17:26:07 2016 -0500 |
tree | 5a52f6438922449d72dbe87aca7cd9125966d145 | |
parent | 6964073c594cf999d3747993b73f707e4702e024 [diff] |
build: New configure option '--disable-bootstrap'. If configure is run with '--disable-bootstrap', then stage1flex won't be built and stage1scan.c will be generated by sed'ing scan.c. This option is intended to workaround bootstrap bugs rather than to fix the bootstrapping issues which are proving subtler and harder to fix than anyone would like.
This is flex, the fast lexical analyzer generator.
flex is a tool for generating scanners: programs which recognize lexical patterns in text.
The flex codebase is kept in Git on GitHub.
Use GitHub's issues and pull request features to file bugs and submit patches.
There are several mailing lists available as well:
Find information on subscribing to the mailing lists at:
http://sourceforge.net/mail/?group_id=97492
The flex distribution contains the following files which may be of interest:
You need the following tools to build flex from the maintainer's repository:
In cases where the versions of the above tools matter, the file configure.ac will specify the minimum required versions.
Once you have all the necessary tools installed, life becomes simple. To prepare the flex tree for building, run the script:
./autogen.sh
in the top level of the flex source tree.
This script calls the various tools needed to get flex ready for the GNU-style configure script to be able to work.
From this point on, building flex follows the usual routine:
configure && make && make install
This file is part of flex.
This code is derived from software contributed to Berkeley by Vern Paxson.
The United States Government has rights in this work pursuant to contract no. DE-AC03-76SF00098 between the United States Department of Energy and the University of California.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.