diff options
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r-- | chapter06/gcc-inst.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 474455134..575cefedc 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -8,11 +8,11 @@ Install GCC by running the following commands: <blockquote><literallayout> <userinput>mkdir /usr/src/gcc-build &&</userinput> <userinput>cd /usr/src/gcc-build &&</userinput> - <userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput> - <userinput> --with-gxx-include-dir=/usr/include/g++ - \</userinput> - <userinput> --enable-shared - --enable-languages=c,c++ &&</userinput> + <userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput> + <userinput> --with-slibdir=/lib + --enable-shared \</userinput> + <userinput> --enable-languages=c,c++ + &&</userinput> <userinput>make bootstrap &&</userinput> <userinput>make install</userinput> </literallayout></blockquote> |