Changeset aa49729
- Timestamp:
- 09/24/2003 02:59:09 PM (21 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, 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, 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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 978d0bf
- Parents:
- e005067
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass1-inst.xml
re005067 raa49729 30 30 --prefix=/tools --disable-nls</userinput></screen></para> 31 31 32 <para>The meaning of the configure switches:</para>32 <para>The meaning of the configure options:</para> 33 33 34 34 <itemizedlist> … … 50 50 51 51 <itemizedlist> 52 <listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This tells 53 the linker that all the Binutils programs should be linked 54 statically.</para></listitem> 52 <listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This tells the 53 linker that all the Binutils programs should be linked statically. However, 54 strictly speaking, <userinput>"-all-static"</userinput> is first passed on to 55 the <emphasis>libtool</emphasis> program which then passes 56 <userinput>"-static"</userinput> on to the linker.</para></listitem> 55 57 </itemizedlist> 56 58 … … 64 66 make -C ld LIB_PATH=/tools/lib</userinput></screen></para> 65 67 68 <para>The meaning of the make options:</para> 69 70 <itemizedlist> 71 <listitem><para><userinput>-C ld clean</userinput>: This tells the make program 72 to remove all the compiled files only in the <filename>ld</filename> 73 subdirectory.</para></listitem> 74 75 <listitem><para><userinput>-C ld LIB_PATH=/tools/lib</userinput>: This option 76 rebuilds everything in the <filename>ld</filename> subdirectory. Specifying the 77 LIB_PATH makefile variable on the command line allows us to override the default 78 value and have it point to our temporary tools location. This preparation will 79 be utilised later on in the chapter.</para></listitem> 80 </itemizedlist> 81 66 82 <caution><para>Do not yet remove the Binutils build and source 67 83 directories. You will need them again in their current state a bit further on -
chapter05/gcc-pass1-inst.xml
re005067 raa49729 31 31 --enable-languages=c</userinput></screen></para> 32 32 33 <para>The meaning of the newconfigure options:</para>33 <para>The meaning of the configure options:</para> 34 34 35 35 <itemizedlist> -
chapter05/gcc-pass2-inst.xml
re005067 raa49729 28 28 section is considered not as important as the one we run in Chapter 6.</para></note> 29 29 30 <para>Unpack all three GCC tarballs (-core, -g++, and -testsuite) in one and the same working directory.31 They will all unfold into a single <filename>gcc-&gcc-version;/</filename> 32 subdir.</para>30 <para>Unpack all three GCC tarballs (-core, -g++, and -testsuite) in one and the 31 same working directory. They will all unfold into a single 32 <filename>gcc-&gcc-version;/</filename> subdirectory.</para> 33 33 34 34 <para>First correct one problem and make an essential adjustment:</para> … … 74 74 --enable-threads=posix --enable-__cxa_atexit \ 75 75 --enable-languages=c,c++</userinput></screen></para> 76 77 <para>The meaning of the new configure options:</para> 78 79 <itemizedlist> 80 <listitem><para><userinput>--enable-threads=posix</userinput>: This enables 81 C++ exception handling for multi-threaded code.</para></listitem> 82 83 <listitem><para><userinput>--enable-__cxa_atexit</userinput>: This option 84 allows use of __cxa_atexit, rather than atexit, to register C++ destructors for 85 local statics and global objects and is essential for fully standards-compliant 86 handling of destructors. It also affects the C++ ABI and therefore results in 87 C++ shared libraries and C++ programs that are interoperable with other Linux 88 distributions.</para></listitem> 89 90 <listitem><para><userinput>--enable-clocale=gnu</userinput>: This option ensures 91 the correct locale model is selected for the C++ libraries under all 92 circumstances. If the configure script finds the <emphasis>de_DE</emphasis> 93 locale installed, it will select the correct model of <emphasis>gnu</emphasis>. 94 However, people who don't install the <emphasis>de_DE</emphasis> locale, run the 95 risk of building ABI incompatible C++ libraries due to the wrong locale model of 96 <emphasis>generic</emphasis> being selected.</para></listitem> 97 98 <listitem><para><userinput>--enable-languages=c,c++</userinput>: This option is 99 needed to ensure that both C and C++ compilers are built.</para></listitem> 100 </itemizedlist> 76 101 77 102 <para>Compile the package:</para> -
chapter05/glibc-inst.xml
re005067 raa49729 49 49 --without-gd</userinput></screen></para> 50 50 51 <para>The meaning of the newconfigure options:</para>51 <para>The meaning of the configure options:</para> 52 52 53 53 <itemizedlist> -
chapter05/grep-inst.xml
re005067 raa49729 9 9 --disable-perl-regexp --with-included-regex</userinput></screen></para> 10 10 11 <para>The meaning of the configure switches:</para>11 <para>The meaning of the configure options:</para> 12 12 13 13 <itemizedlist> -
chapter06/gcc-inst.xml
re005067 raa49729 39 39 --enable-languages=c,c++</userinput></screen></para> 40 40 41 <para>The meaning of the new configure options:</para>42 43 <itemizedlist>44 <listitem><para><userinput>--enable-threads=posix</userinput>: This enables45 C++ exception handling for multi-threaded code.</para></listitem>46 47 <listitem><para><userinput>--enable-__cxa_atexit</userinput>: This option48 will result in C++ shared libraries and C++ programs that are interoperable49 with other Linux distributions.</para></listitem>50 51 <listitem><para><userinput>--enable-clocale=gnu</userinput>: There is a risk52 that some people will build ABI incompatible C++ libraries if they didn't53 install all of the glibc localedata. Using --enable-clocale=gnu ensures that54 the "right thing" is done in all cases. If you don't wish to use this option,55 then at least build the <emphasis>de_DE</emphasis> locale. When GCC finds56 this specific locale, then the correct locale mode (<emphasis>gnu</emphasis>)57 is implemented.</para></listitem>58 </itemizedlist>59 60 41 <para>Compile the package:</para> 61 42 -
chapter06/glibc-inst.xml
re005067 raa49729 35 35 --libexecdir=/usr/bin --with-headers=/usr/include</userinput></screen></para> 36 36 37 <para>The meaning of the configure options:</para>37 <para>The meaning of the new configure options:</para> 38 38 39 39 <itemizedlist> 40 <listitem><para><userinput>--disable-profile</userinput>: This disables the41 building of the libraries with profiling information. Omit this option if you42 plan to do profiling.</para></listitem>43 44 <listitem><para><userinput>--enable-add-ons</userinput>: This enables any45 add-ons that we installed with Glibc, in our case Linuxthreads.</para></listitem>46 47 40 <listitem><para><userinput>--libexecdir=/usr/bin</userinput>: This will 48 41 cause the <filename>pt_chown</filename> program to be installed in the … … 53 46 for this build. If you don't pass this switch then the headers from 54 47 <filename>/tools/include</filename> are used which of course is not ideal 55 (although they should be identical). Using th eswitch has the advantage48 (although they should be identical). Using this switch has the advantage 56 49 that you will be informed immediately should you have forgotten to install the 57 50 kernel headers into <filename>/usr/include</filename>.</para></listitem> -
chapter06/inetutils-inst.xml
re005067 raa49729 24 24 because Util-linux installs a better version later.</para></listitem> 25 25 26 <listitem><para><userinput>--sysconfdir=/etc</userinput>: This option27 tells the binaries created by the package to look in /etc for their28 configuration files</para></listitem>29 30 26 <listitem><para><userinput>--disable-whois</userinput>: This option disables 31 27 the building of the inetutils whois client, which is woefully out of date. -
chapter06/less-inst.xml
re005067 raa49729 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen></para> 9 10 <para>The meaning of the configure option:</para> 11 12 <itemizedlist> 13 <listitem><para><userinput>--sysconfdir=/etc</userinput>: This option tells the 14 programs created by the package to look in <filename>/etc</filename> for their 15 configuration files.</para></listitem> 16 </itemizedlist> 9 17 10 18 <para>Compile the package:</para> -
chapter06/psmisc-inst.xml
re005067 raa49729 8 8 <para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para> 9 9 10 <para>The meaning of the newconfigure option:</para>10 <para>The meaning of the configure option:</para> 11 11 12 12 <itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.