| 1 | | New version of Flex. Now requires Bison to build. One possible solution would be to swap the build order of Bison and Flex in the final-system, but there would also be testsuite failures for Bison due to the absence of Flex. My preferred solution would be to add Bison to /tools - Flex doesn't appear to store the location for the bison executable in its installed files so there shouldn't be any problems. |
| | 1 | = New Version = |
| | 2 | |
| | 3 | Download ["https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz] |
| | 4 | |
| | 5 | * Update url location in XML |
| | 6 | * Now requires Bison to build. |
| | 7 | 1. Swap the build order of **Bison** and **Flex** in the ''final-system'' |
| | 8 | * Will be test suite failures for **Bison** due to the absence of **Flex** |
| | 9 | 2. Add Bison to /tools |
| | 10 | * **Flex** doesn't appear to store the location for the **Bison** executable in its installed files so there shouldn't be any problems. |
| | 11 | |
| | 12 | == For Ch 6: == |
| | 13 | * Unsure if we'll need 32-bit and 64-bit for multilib |
| | 14 | {{{ |
| | 15 | ./configure \ |
| | 16 | --prefix=/tools \ |
| | 17 | --build=${CLFS_HOST} \ |
| | 18 | --host=${CLFS_TARGET} |
| | 19 | make |
| | 20 | make install |
| | 21 | }}} |
| | 22 | |
| | 23 | == For Ch 10 == |
| | 24 | * Check if ''**M4=m4**'' is required in Ch 10 when installing **Bison** during Ch 6 |
| | 25 | * Use the following instead of a wrapper script: |
| | 26 | {{{ |
| | 27 | ln -sv flex /usr/bin/lex |
| | 28 | }}} |