18b842c96d
They are really harmful. In Binutils pass 2, libstdc++.la caused the building system to use host /usr/lib/libstdc++.so for gprofng. We now has disabled gprofng for pass 2, but the similar issue also exists in GCC pass 2. In a normal LFS build, the building system silently uses /usr/lib/libstdc++.so (I guess it does not blow up simply because some blind luck); in a real cross build (x86 -> ARM for example) the build will fail. Remove the .la files to fix this issue. Instead of only modifying clfs-ng, it makes more sense to apply the change for trunk: though the build does not fail, using host library is still a contamination. |
||
---|---|---|
appendices | ||
bootscripts | ||
chapter01 | ||
chapter02 | ||
chapter03 | ||
chapter04 | ||
chapter05 | ||
chapter06 | ||
chapter07 | ||
chapter08 | ||
chapter09 | ||
images | ||
part3intro | ||
prologue | ||
stylesheets | ||
udev-lfs | ||
ABOUT | ||
aux-file-data.sh | ||
general.ent | ||
git-version.sh | ||
index.xml | ||
INSTALL | ||
lfs-latest-git.php | ||
lfs-latest.php | ||
LICENSE | ||
make-aux-files.sh | ||
Makefile | ||
obfuscate.sh | ||
packages.ent | ||
patches.ent | ||
pdf-fixups.sh | ||
process-scripts.sh | ||
README.md | ||
tidy.conf |
LFS Book README
В этом документе содержится информация о том, как выполнить преобразование книги из XML формата в другой формат (например, HTML, PDF, PS и TXT). Для начала, если вы ещё этого не сделали, пожалуйста, откройте и прочитайте информацию, представленную в файле INSTALL, чтобы установить необходимое программное обеспечение. Если вы уже выполнили все шаги в файле INSTALL, ознакомьтесь с примерами того, как выполнить преобразование файлов в другие форматы.
Во всех примерах необходимо указание аргумента REV=systemd, если требуется сборка книги редакции systemd.
XML в XHTML:
make BASEDIR=/path/to/output/location
XML в одностраничный XHTML (nochunks):
make BASEDIR=/path/to/output/location nochunks
XML в TXT:
Следуйте инструкциям для nochunks и затем запустите: lynx -dump /path/to/nochunks > /path/to/output
XML в PDF:
make BASEDIR=/path/to/output/location pdf