A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « GNU Bc | HOME | Flex 32-bit » |
Name: Flex 64-bit
Summary: The fast lexer
License: BSD-3-Clause
Version: 2.6.4
URL: https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
Average Build Time: 0.1 SBU
Used Install Space: 33 MiB
To configure Flex 64-bit for install into the build root, run the following command:
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--docdir=/usr/share/doc/flex-2.6.4 \
--disable-static
To compile Flex 64-bit, run the following command:
make
Next, run the test suite:
make check
Finally, to install Flex 64-bit into the build tree, run the following command:
make install
rm -fv /usr/lib64/libfl.la
ln -sv flex /usr/bin/lex
ln -sv flex.1 /usr/share/man/man1/lex.1
NOTE: Do not delete the unpacked sources
| Contents | |
|---|---|
| Installed Programs | flex, flex++ (link to flex), and lex (link to flex) |
| Installed Libraries | libfl.so |
| Installed Directories | /usr/share/doc/flex-2.6.4 |
| Navigation | ||
|---|---|---|
| « GNU Bc | HOME | Flex 32-bit » |