LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-08-2019, 10:29 AM   #1
PepperLegs
LQ Newbie
 
Registered: Oct 2019
Posts: 15

Rep: Reputation: Disabled
Question Building CLFS with newest packages.


Hello everyone! I hope that I don't come off as rude by asking a question right away instead of introducing myself, but I'd really like to know if there is someone who tried building CLFS with newest packages (GCC 9.2.0, glibc 2.30, etc.). If so, are there any gotchas, things I should watch out for?

I would like to build a 32-bit CLFS on a 64-bit system, but the book seems to be a bit outdated compared to the main one (even the development version), and I'd like to download the latest tarballs. From what I see, some patches would probably no longer apply, like the one for GCC 7.1.0. Would it be a good idea to, for example, combine the CLFS commands, particularly the ./configure ones, with regular LFS ones (with some tweaking where needed)? Thank you in advance!
 
Old 10-14-2019, 08:26 AM   #2
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
My experiences with regular LFS are:
With an LFS-8.2-tools/ch5 you can build up to at least gcc-9.2.0, glibc-2.28 and binutils 2.31.1.
Glibc 2.29 needs python3, if you add that to your tools-section you should be alright.
If you want to build 32-bit LFS, no need for CLFS, just use a live 32-bit environment.
OR create a chroot with an untarred tools tarball. Keith provides those for his LiveCD project.
I no longer build ch5 since I found his tarballs AND you can use newer gcc, glibc and binutils in the ch6 you are building.

Steps would be something like:
Download lfs-8.2/9.0-tools tarball, untar to /mnt/lfs/tools and chroot using the book at the beginning of ch6.
This should work with a 32-bit tarball, if it does not, just boot up a i686 livecd/USB.
 
Old 10-16-2019, 09:25 AM   #3
PepperLegs
LQ Newbie
 
Registered: Oct 2019
Posts: 15

Original Poster
Rep: Reputation: Disabled
Alrighty, thanks for the tips! I'll be sure to check out the tools tarball once I get back to building LFS!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Errors while building g77 compiler on a CLFS pure64 system corbis_demon Linux From Scratch 4 11-29-2010 02:06 AM
Building CLFS with LFS? ProtoformX Linux From Scratch 2 04-07-2010 02:28 PM
Building LFS 6.3(4) on PPC directly without using CLFS achemdion Linux From Scratch 3 03-18-2009 08:42 AM
Building CLFS with Windows/Cygwin as Host. Possible? benz Linux From Scratch 1 02-16-2009 12:02 AM
chown clfs:clfs mishap Louis_Carole Linux From Scratch 4 03-21-2007 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration