Changeset b822811 for chapter06/bison-inst.xml
- Timestamp:
- 07/22/2001 07:45:10 PM (23 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- f1da843
- Parents:
- 46f5461
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bison-inst.xml
r46f5461 rb822811 2 2 <title>Installation of Bison</title> 3 3 4 <para> 5 Install Bison by running the following commands: 6 </para> 4 <para>Install Bison by running the following commands:</para> 7 5 8 <para> 9 <screen> 10 <userinput>./configure --prefix=/usr \</userinput> 6 <para><screen><userinput>./configure --prefix=/usr \</userinput> 11 7 <userinput> --datadir=/usr/share/bison &&</userinput> 12 8 <userinput>make &&</userinput> 13 <userinput>make install</userinput> 14 </screen> 15 </para> 9 <userinput>make install</userinput></screen></para> 16 10 17 <para> 18 Some programs don't know about bison and try to find the yacc program 11 <para>Some programs don't know about bison and try to find the yacc program 19 12 (bison is a (better) alternative for yacc). So to please those few 20 13 programs out there we'll create a yacc script that calls bison and have 21 it emulate yacc's output file name conventions). 22 </para> 14 it emulate yacc's output file name conventions).</para> 23 15 24 <para> 25 Create a new file <filename>/usr/bin/yacc</filename> by running the 26 following: 27 </para> 16 <para>Create a new file <filename>/usr/bin/yacc</filename> by running the 17 following:</para> 28 18 29 <para> 30 <screen> 31 <userinput>cat > /usr/bin/yacc << "EOF"</userinput> 19 <para><screen><userinput>cat > /usr/bin/yacc << "EOF"</userinput> 32 20 #!/bin/sh 33 21 # Begin /usr/bin/yacc … … 37 25 # End /usr/bin/yacc 38 26 <userinput>EOF</userinput> 39 <userinput>chmod 755 /usr/bin/yacc</userinput> 40 </screen> 41 </para> 27 <userinput>chmod 755 /usr/bin/yacc</userinput></screen></para> 42 28 43 29 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.