Opened 18 years ago

Closed 18 years ago

#60 closed task (fixed)

Required host system tools

Reported by: chris@… Owned by: chris@…
Priority: major Milestone:
Component: BOOK Version: CLFS Standard 1.0.0
Keywords: Cc:

Description

A page should be added to describe the list of packages needed on the host system to build a CLFS system, similar what is currently in LFS. The LFS page may be a good place to start. Would there also be other packages needed for specific archs?

Change History (9)

comment:1 by alexander@…, 18 years ago

There are several additional dependencies due to the fact that cross-compiled tools cannot be used. It is debatable whether they have to be added to ${CLFS}/cross-tools or to the host requirements. My own (extremist) viewpoint is that any kind of LFS should be bootstrappable even from this uClibc-based system: http://www.uclibc.org/downloads/root_fs_i386.ext2.bz2 (20 MB).

comment:2 by chris@…, 18 years ago

Most additional host system requirements are really just for CLFS 2.0. In CLFS 1.x, since the final-system build is not cross-compiled, the only host tools needed are the necessary programs for building the temp-system, which for the most part basically just boils down do the tools needed for Binutils, GCC, and Glibc, though of course there may be some arch-specific packages needed (generally for the boot method).

comment:3 by alexander@…, 18 years ago

Indeed. While still in CLFS-2.0, I add m4 (for bison and autoconf, see Ticket #62), texinfo (for sed HTML docs, Ticket #63) and autoconf (for automake).

comment:4 by alexander@…, 18 years ago

Well, autoconf can be worked around:

./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --prefix=/usr \
    am_cv_autoconf_installed=yes \
    am_cv_autoconf_works=yes \
    am_cv_autoconf_version=2.59

or equivalent config.cache statements.

comment:5 by alexander@…, 18 years ago

bash depends on yacc (part of bison)

comment:6 by alexander@…, 18 years ago

Flex is needed for kbd

comment:7 by Jim Gifford, 18 years ago

Owner: changed from clfs-commits@… to chris@…
Version: unstable1.0.0

The same as LFS is good to use. There are not special requirements for the other architectures, unless you consider some of the extras we build for Sparc, Elftoaout, MIPS depending on the System. We build it, so it's not a dependency as I see it.

comment:8 by chris@…, 18 years ago

I'll copy the Host Reqs. page from LFS, with a couple minor changes. I'll add a note that the kernel version requirement only applies to builds using the chroot method. Also, I'm not sure how the explanation of building a kernel yourself should work. The book links to the "making the system bootable" chapter, but those instructions are for the *target* system, which of course is not necessarily the same as the host. Should we just keep it like that and hope the user can figure out how the instructions should apply to the host? Or maybe have basic kernel compilation/installation instructions right the host reqs. page?

The part about setting up the bootloader (which LFS says "assuming the host uses GRUB" and has a link to the grub setup page) I think can just replaced with "see the host system documentation on setting up its bootloader."

comment:9 by chris@…, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in r2615 - Host System Requirements page has been added.

Note: See TracTickets for help on using tickets.