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.
|
|
11-20-2003, 12:40 AM
|
#1
|
Member
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82
Rep:
|
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.
|
|
|
11-20-2003, 03:34 AM
|
#2
|
Member
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524
Rep:
|
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)
|
|
|
11-20-2003, 04:12 AM
|
#3
|
Member
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82
Original Poster
Rep:
|
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.
|
|
|
11-20-2003, 04:23 AM
|
#4
|
Member
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 06:44 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
|
|