LinuxQuestions.org
Review your favorite Linux distribution.
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 11-20-2003, 12:40 AM   #1
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Rep: Reputation: 15
LFS is great but ....


I'm a regular LFS builder. I like the idea that everything is up to date, as fast as it can be and working as I expected etc.

This is the way how I understand the things:
If I compile a package, then command ./configure checks, what programs and libraries in my system presents and what not, then it makes Makefile(s). Some of the things are needed and some of them not that important.

Ok. Here is the question:
Will the compiled program be faster, more stable of some way better, if ./configure script finds everything he needs. I mean all the good things what developers are meant to be used when they present. I think this is the other way of tuning up system speed besides optimization.

I hope you understand what I mean.

Last edited by joakim12; 11-20-2003 at 02:20 AM.
 
Old 11-20-2003, 03:34 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
If configure finds everything it needs, it will build all of the possible options into the program. For example, a program may have two versions - a GUI and a command line, but the GUI may use GTK. Configure could check to see if GTK is present and only build the GUI if it is. Or a program could have support for writing sound to both OGG and MP3 formats. Then configure would check that libogg and lame were installed, if not it would not build the appropriate support. If you want things to be faster, you can build them statically, although this has several disadvantages (see LFS book)
 
Old 11-20-2003, 04:12 AM   #3
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Original Poster
Rep: Reputation: 15
I got a picture. Thanks. So there is no such thing as doing thing other way if the best way is not obtainable.

But there is still a but. I'm confused. When I compile LFS, then with some packages I see they are sayin that fortran compiler and his things were not found. Do I have to accept whith the knowledge that fortran support will not be compiled.

I'm just inquisitive. I wanna know everything, but that is obviously nearly impossible.
 
Old 11-20-2003, 04:23 AM   #4
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Quote:
I got a picture. Thanks. So there is no such thing as doing thing other way if the best way is not obtainable.
Not quite. Some programs might for example, be optimised to use one thing, but be able to use an alternative and will check for both, use the best if possible, but otherwise use the other one.
As for the FORTRAN thing, I'm not sure - very few programs would want to use this. I've been wondering about this myself, but I don't think it's anything to worry about
 
  


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 Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
QUERY: is LFS LFS? kevingpo Linux From Scratch 7 09-23-2005 12:15 PM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
cannot login as user 'lfs' [su - lfs] mayasedai Linux From Scratch 2 07-26-2005 06:10 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM

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

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