LinuxQuestions.org
Visit Jeremy's Blog.
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 07-23-2007, 05:13 PM   #1
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Can I build 32-bit LFS on a 64-bit AMD system?


Hi,

For a month or so I'm using a 64bit AMD-based system running Mandriva. I have a few extra days, so I thought I go through LFS again (first and only time was over two years ago).

My question: Can I build a "regular" 32-bit LFS system using the 64-bit Mandriva system as the host?

I'm mainly concerned about building the first components of the LFS toolchain, since those are built directly using the host's toolchain, if I understand correctly.

Thanks.
 
Old 07-23-2007, 05:18 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Yes. But, since you are using a multilib architecture (x86_64) why not build a multilib operating system? Technically, a 32-bit only build on an x86_64 platform won't be standards compliant. The few extra build you need to do for a multilib system won't really add much time to the overall process.
 
Old 07-23-2007, 05:25 PM   #3
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by weibullguy
Yes. But, since you are using a multilib architecture (x86_64) why not build a multilib operating system? Technically, a 32-bit only build on an x86_64 platform won't be standards compliant. The few extra build you need to do for a multilib system won't really add much time to the overall process.
O.K., since I posted a few minutes ago I started reading about CLFS and suspected that was how I wanted to go. Your reply confirms that. Packages are downloading as I type ...

Thanks for the help.
 
Old 07-23-2007, 07:13 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Good news. Welcome to CLFS. May I strongly encourage you to use the multilib instructions. You will have the best of both worlds in a manner of speaking and a standards compliant operating system. Don't forget to check out http://cblfs.cross-lfs.org/index.php/Main_Page when you're finished with the book.

There is also a new CLFS Hints Wiki and when I say new, I mean new. Not a lot of information there yet, but look it over while you're building your system. Anything you can add to the Hints wiki while you're building would be great!
 
Old 07-23-2007, 08:00 PM   #5
thloh85
Member
 
Registered: Apr 2006
Location: Earth
Distribution: BLFS customized
Posts: 160

Rep: Reputation: 31
Yes you can...
I don't see a need for multilib anyway(at least for now hehe) LOL (I'm using AMD 64, but still, all my libs are 32-bits in LFS)...
Since all packages are installed via autotools, majority should compile under 32-bit library(not much are incompatible with 32-bit library)...
Thank you... Hope this helps...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
32-bit compatibility on a 64-bit AMD box ?? Rod Butcher Linux - General 4 01-11-2007 06:10 PM
LXer: Linux Pre-installed on a AMD 64-bit Based System for $300 LXer Syndicated Linux News 0 07-14-2006 08:21 AM
LFS on AMD dual core 64 bit CPU(S) astender Linux From Scratch 3 02-19-2006 05:53 PM
AMD 64-bit System reboots when trying to play games. StarbuckZero Linux - Software 12 08-03-2005 12:05 AM
32 bit kernel on 64 bit AMD machine dipsae Linux - Software 5 10-01-2004 11:03 AM

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

All times are GMT -5. The time now is 11:20 PM.

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