LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-26-2005, 06:51 AM   #1
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
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.
 
Old 07-26-2005, 08:04 AM   #2
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
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
 
Old 07-26-2005, 04:44 PM   #3
TGWDNGHN
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 94
Blog Entries: 1

Rep: Reputation: 15
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
 
Old 07-26-2005, 11:11 PM   #4
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
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.
 
Old 07-26-2005, 11:55 PM   #5
tooly
LQ Newbie
 
Registered: Nov 2002
Location: Berlin / Germany
Distribution: LFS
Posts: 6

Rep: Reputation: 0
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
 
Old 07-27-2005, 12:58 AM   #6
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
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.
 
Old 07-27-2005, 01:01 AM   #7
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
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
 
Old 07-27-2005, 01:06 AM   #8
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
Quote:
OS: LFS x86 (XFree86 + GNOME 2.10.2)
Have you tried to install LFS for a bi-arch 64-bit?
 
Old 07-27-2005, 01:27 PM   #9
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
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
 
  


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
Installing on AMD64 logosys Debian 8 07-28-2005 01:41 AM
Installing Debian r4 for amd64 andrefe Linux - Newbie 3 03-07-2005 03:50 PM
Installing Slackware 10.1 on AMD64? MDesigner Slackware 0 02-22-2005 12:09 PM
Installing 9.2 (amd64) on a VT8237 RAID 0 possible? fza SUSE / openSUSE 1 02-06-2005 10:02 PM
Installing Suse 9.2 on AMD64 computer arnott SUSE / openSUSE 8 12-26-2004 06:33 AM

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

All times are GMT -5. The time now is 04:31 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