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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-26-2005, 06:51 AM
|
#1
|
Member
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319
Rep:
|
installing LFS under AMD64
Hi,
Is it possible to build LFS 6.1 for the 64-bit architecture? As other people said, the instructions from LFS 6.1 book will build a 32-bit Linux not a 64-bit linux.
What about reading the help under ./configure --help? Do I need to do a lot of change to get a 64-bit Linux up and running?
Currently I am running SuSE 9.3 Prof 64-bit under AMD64.
|
|
|
07-26-2005, 08:04 AM
|
#2
|
Member
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129
Rep:
|
Hi,
before acquiring my 32bit laptop computer I had an Athlon64 MiniPC by Shuttle, the fact is I acquired it with building Linux in mind, but the fact is the LFS book will fail to make you being able to construct your LFS system 'as is', you need cross-LFS instructions, and there's a page on the internet where you can build a bi-arch LFS, but for the pure 64bit LFS (that was the system I wanted to build) I couldn't do it
so search for cross-LFS and see if you can do it
Julio
|
|
|
07-26-2005, 04:44 PM
|
#3
|
Member
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 94
Rep:
|
I'm still in the process of building my first LFS system, and having a hard with it
But isn't there a porition in chapter five where you copy "the Respective" Linux Headers? I remember one of them being for the 64-bit architecture. i'll definately keep that in mind because once I manage building it on my 32-bit PC, I will definately do it on my AMD64... if I ever get to it
|
|
|
07-26-2005, 11:11 PM
|
#4
|
Member
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319
Original Poster
Rep:
|
Quote:
so search for cross-LFS and see if you can do it
|
I will do that.
Quote:
But isn't there a porition in chapter five where you copy "the Respective" Linux Headers? I remember one of them being for the 64-bit architecture.
|
I will make sure to read tha before starting the build process.
|
|
|
07-26-2005, 11:55 PM
|
#5
|
LQ Newbie
Registered: Nov 2002
Location: Berlin / Germany
Distribution: LFS
Posts: 6
Rep:
|
Hallo,
would you build an pure64 or an cross (has 32 and 64bit libs)?
If you plan an pure64 System, so look at my side www.schneider-berlin.net and you find how did i build my system. My english is to bad, so my side is in German.
mfg
tooly
|
|
|
07-27-2005, 12:58 AM
|
#6
|
Member
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319
Original Poster
Rep:
|
Hi tooly,
How do find the system? is it stable?
Is it ok to use the following scripts:
Tools Chapter 5 Skripte
Basis Chapter 6 Skripte
I am not sure whether I want to build a pure 64 or with 32 libs.
|
|
|
07-27-2005, 01:01 AM
|
#7
|
Member
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129
Rep:
|
a bi-arch would be interesting as a first-experience system as there's some packages that won't compile in 64 bits (I was told, for example, vim doesn't compile in 64 bits), although the ideal compilation is a pure 64bit LFS as running the processor in compatibility mode isn't exactly the way to harness all the power the Ahtlon64 has to offer, but... you can choose whatever option suits best for you
Julio
|
|
|
07-27-2005, 01:06 AM
|
#8
|
Member
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319
Original Poster
Rep:
|
Quote:
OS: LFS x86 (XFree86 + GNOME 2.10.2)
|
Have you tried to install LFS for a bi-arch 64-bit?
|
|
|
07-27-2005, 01:27 PM
|
#9
|
Member
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129
Rep:
|
Hi Basel,
yes, when I had an Athlon64 machine I tried to build LFS for my system, both pure and bi-arch, with pure 64bit LFS I couldn't do a thing, I was getting errors from the very early stage of GCC building, I managed to pass the GCC build phase if I gave the ./configure script the parameter --disable-multilib, but as the GLibc installation expects GCC to have the standard C++ library (stdc++) and without multilib it just doesn't exist, the compilation failed...
the fact is in the page I encountered (I think it was http://home.ix.netcom.com/~ejohns/glfs-amd64/) there was the same case, to be able to obtain a bi-arch system you first have to compile a GCC without multilib and after building it you have to build a GCC with complete feature set, but at the time of making the final try, I received an interesting monetary offer for my rig and I sold it to buy my laptop, so...
I didn't managed to build the bi-arch system, but tried it
Hope you don't feel deceptioned with this
greetings from spain,
Julio 
|
|
|
All times are GMT -5. The time now is 11:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|