MTD 248-645A Manual de usuario Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 347
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 57
Linux From Scratch - Version 7.0
38
--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-
libssp, --disable-li/jointfilesconvert/297116/bgomp, --disable-libquadmath --disable-target-libiberty
--disable-target-zlib
These switches disable support for the decimal floating point extension, threading, libmudflap, libssp and
li/jointfilesconvert/297116/bgomp, libquadmath, libiberty and zlib respectively. These features will fail to compile when building a cross-
compiler and are not necessary for the task of cross-compiling the temporary libc.
--disable-multilib
On x86_64, LFS does not yet support a multilib configuration. This switch is harmless for x86.
--enable-languages=c
This option ensures that only the C compiler is built. This is the only language needed now.
--without-ppl, --without-cloog
These switches prevent GCC from building against the PPL and CLooG libraries which may be present on the
host system, but will not be available in the chroot environment.
Compile GCC by running:
make
Compilation is now complete. At this point, the test suite would normally be run, but, as mentioned before, the test
suite framework is not in place yet. The benefits of running the tests at this point are minimal since the programs
from this first pass will soon be replaced.
Install the package:
make install
Using --disable-shared means that the li/jointfilesconvert/297116/bgcc_eh.a file isn't created and installed. The Glibc package
depends on this library as it uses -lgcc_eh within its build system. This dependency can be satisfied by creating a
symlink to li/jointfilesconvert/297116/bgcc.a, since that file will end up containing the objects normally contained in li/jointfilesconvert/297116/bgcc_eh.a:
ln -vs li/jointfilesconvert/297116/bgcc.a `$LFS_TGT-gcc -print-li/jointfilesconvert/297116/bgcc-file-name | \
sed 's/li/jointfilesconvert/297116/bgcc/&_eh/'`
Details on this package are located in Section 6.17.2, “Contents of GCC.”
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 346 347

Comentarios a estos manuales

Sin comentarios