LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-28-2004, 01:01 PM   #1
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
Windows, LFS and Slackware...


to install windows (say Win98) u need a computer with at least the required minimum requirements ie a 486 8mb ram and ... does that mean the bineries were compiled on a 486?

similarly if you install LFS say compiled on your athlon its optimized for your particular machine than using say slackware packages compiled for a 686?
 
Old 02-06-2004, 10:33 AM   #2
bhaskie
Member
 
Registered: Jan 2004
Location: New Delhi, India
Distribution: L.F.S 5.0 | FreeBSD 5.2 | Debian sid | Gentoo 2004.0 | Slackware 9.1
Posts: 78

Rep: Reputation: 15
I think the meaning of this is related to compiler flags and optimisation. While compiling the binaries, you have the option to pass to the compiler the type of CPU and optimization levels. For example, you can pass the cpu type as athlon XP and enable certain CPU extensions. Same with P4. These are not enabled so that slower systems can also run the OS.
The people who build the binaries have to make sure that the binaries run on a 486 system also and that the OS should run on the minimum RAM mentioned. If you obtain the source code for windows and compile the OS with custom compiler flags, the system should run faster. But that doesnt mean that the OS wouldnt do any enhancements if it found a faster processor and lots of RAM. Runtime detection handles a lot of stuff. But you can avoid a runtime CPU detection by passing the CPU type to the compiler.
I run an LFS 5 system built on my Athlon XP and I can tell you I havent seen any operating system running faster than this. The programs run much faster than on other linux OSes. To fully optimize your LFS system, you should read more on compiling the base system with optimization flags. glibc and gcc can also be optimized to obtain faster performance.
 
  


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
LFS, Gentoo Vs. Slackware rvijay Linux - Distributions 42 07-13-2006 03:03 AM
Who has done LFS w/Slackware? trigggl Linux From Scratch 5 02-22-2005 01:10 PM
LFS Vs. Slackware. rvijay Linux From Scratch 11 01-25-2005 01:03 AM
LFS-ish slackware install possible? Onemessedupjedi Slackware - Installation 1 06-30-2004 06:35 PM
difference between slackware and lfs ethanchic Linux - Distributions 7 07-19-2002 11:28 AM

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

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