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 08-17-2010, 01:44 AM   #1
Blender3D
Member
 
Registered: Jun 2010
Distribution: Linux Mint 9 x64, Linux From Scratch
Posts: 46

Rep: Reputation: 17
LFS for x64?


I've been hearing that LFS is not very well suited for 64-bit architectures and the CLFS is superior in that aspect. I'm designing a system that is to be as fast as possible (it will be doing CGI rendering, so I want to give it as much computing power as possible). I've completed BLFS successfully, but unoptimized, which impacts performance quite a lot.

Should I switch to CLFS (I am building this on each computer individually, so there should be no worries about cross-compatibility)? Or should I stick with ol' LFS (too bad I compiled an ALFS build with the wrong -march option...).

Thanks!
 
Old 08-17-2010, 07:27 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

LFS is 32 bit, CLFS is either true 64 or a multilib system. BLFS is a 32 bit build and there is, too my knowledge, no BCLFS. (see post #4)

About setting the -march= flag: If you have gcc 4.2 or better it is best to set this flag to native (-march=native) instead of the specific cpu (I.e: CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer").

When using -march=native, gcc 4.2 and above automatically detects the optimum settings to use based on your processor. -march=native also detects and applies additional settings beyond -march specific to your CPU.

BTW: Not all the packages that you are building like it when you set CFLAGS / CXXFLAGS. Some are mention specifically. Be careful and do check to see if all went as planned.

Hope this helps.

Last edited by druuna; 08-18-2010 at 02:39 AM. Reason: Updated to reflect real situation.
 
Old 08-17-2010, 11:42 AM   #3
Blender3D
Member
 
Registered: Jun 2010
Distribution: Linux Mint 9 x64, Linux From Scratch
Posts: 46

Original Poster
Rep: Reputation: 17
So I should not use LFS for a system that needs to be as fast as possible? If there is no BCLFS, then I can't really put X on my system, can I...

Thanks!
 
Old 08-17-2010, 11:57 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

After a little digging I found this: CBLFS Wiki

Guess there is a CBLFS, need to adjust my knowledge
 
  


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
Newbie looking to dual-boot Gloria x64 into a box already running Windows 7 x64 joshuaingram Linux - Newbie 1 12-17-2009 06:48 PM
OpenSuse 11.2 x64 - just installed along side Win 7 x64 - major prob Linux side thoug KL51 SUSE / openSUSE 7 12-11-2009 06:18 AM
LVM needs e2fsck after Upgrade from Kubuntu 8.10 x64 to 9.04 x64 don_wombat_73 Linux - Newbie 6 04-30-2009 05:13 PM
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 09:13 PM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 08:04 AM

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

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