Changeset 26b5617


Ignore:
Timestamp:
Sep 3, 2011, 6:56:10 PM (13 years ago)
Author:
Jonathan Norman <jonathan@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e9c6e29
Parents:
bd27efe
Message:

Explained the GCC static configuration options used

Location:
BOOK
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/gcc-static.xml

    rbd27efe r26b5617  
    7979      <title>The meaning of the configure options:</title>
    8080
     81      <varlistentry>
     82        <term><parameter>--prefix=/cross-tools</parameter></term>
     83        <listitem>
     84          <para>This tells the configure script to prepare to install the
     85          package in the <filename class="directory">/cross-tools</filename>
     86          directory.</para>
     87        </listitem>
     88      </varlistentry>
     89
     90      <varlistentry>
     91        <term><parameter>--host=${CLFS_HOST}</parameter></term>
     92        <listitem>
     93          <para>When used with --target, this creates a cross-architecture
     94          executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST}.</para>
     95        </listitem>
     96      </varlistentry>
     97
     98      <varlistentry>
     99        <term><parameter>--target=${CLFS_TARGET}</parameter></term>
     100        <listitem>
     101          <para>When used with --host, this creates a cross-architecture
     102          executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST}.</para>
     103        </listitem>
     104      </varlistentry>
     105
     106      <varlistentry>
     107        <term><parameter>--with-sysroot=${CLFS}</parameter></term>
     108        <listitem>
     109          <para>Tells GCC to concider ${CLFS} as the root file system.</para>
     110        </listitem>
     111      </varlistentry>
     112
    81113     <varlistentry>
    82114        <term><parameter>--with-local-prefix=/tools</parameter></term>
     
    91123
    92124      <varlistentry>
     125        <term><parameter>--disable-nls</parameter></term>
     126        <listitem>
     127          <para>This disables internationalization as i18n is not needed for the
     128          cross-compile tools.</para>
     129        </listitem>
     130      </varlistentry>
     131
     132      <varlistentry>
    93133        <term><parameter>--disable-shared</parameter></term>
    94134        <listitem>
    95135          <para>Disables the creation of the shared libraries.</para>
     136        </listitem>
     137      </varlistentry>
     138
     139      <varlistentry>
     140        <term><parameter>--without-headers</parameter></term>
     141        <listitem>
     142          <para>Disables GCC from using the target's Libc when cross compiling.</para>
     143        </listitem>
     144      </varlistentry>
     145
     146      <varlistentry>
     147        <term><parameter>--with-newlib</parameter></term>
     148        <listitem>
     149          <para>Tells GCC that the target libc will use 'newlib'.</para>
     150        </listitem>
     151      </varlistentry>
     152
     153      <varlistentry>
     154        <term><parameter>--disable-decimal-float</parameter></term>
     155        <listitem>
     156          <para>Disables support for the C decimal floating point extension.</para>
     157        </listitem>
     158      </varlistentry>
     159
     160      <varlistentry>
     161        <term><parameter>--disable-libgomp</parameter></term>
     162        <listitem>
     163          <para>Disables the creation of runtime libraries used by GOMP.</para>
     164        </listitem>
     165      </varlistentry>
     166
     167      <varlistentry>
     168        <term><parameter>--disable-libmudflap</parameter></term>
     169        <listitem>
     170          <para>Disables the creation of runtime libaries used by libmudflap.</para>
     171        </listitem>
     172      </varlistentry>
     173
     174      <varlistentry>
     175        <term><parameter>--disable-libssp</parameter></term>
     176        <listitem>
     177          <para>Disables the use of Stack Smashing Protection for runtime libraries.</para>
    96178        </listitem>
    97179      </varlistentry>
  • BOOK/introduction/common/changelog.xml

    rbd27efe r26b5617  
    4040    <para>September 03, 2011</para>
    4141    <itemizedlist>
     42      <listitem>
     43        <para>[Jonathan] - Explained the configuration options used for GCC Static</para>
     44      </listitem>
    4245      <listitem>
    4346        <para>[Jonathan] - Explained AS and AR configuration flags for Cross Binutils.</para>
Note: See TracChangeset for help on using the changeset viewer.