Linux-2.4.29-grsec vs Crossfire Server 1.7.0 & client 1I
Moderator: Board moderators
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
lol, this is soo true, except that LFS is the diehard way to do gentoo. Its much more educational - expecially if you do not use automated lfs.cavesomething wrote:You do know that you just described gentoo don't you?
There are more differences, though. Gentoo allows you to auto-build a complete, ready-to-use system, while LFS only creates a bare minimal system that is suitable to compile everything you might need.
In other words: you should LFS if you want to know how to use compilers, if you want to learn how a linux-system works etc etc. (although there are other possibilities to learn this)
-Os is usually faster than -O3 for smaller binaries are loaded much faster and use less memory and execution speed is no issue on modern systems. (a discussion on LFS-dev from a few years ago proved this statement, it might be not valid anymore)yerp wrote: ll in all, one of my favorite reasons for using LFS, is optimizations.. -march=pentium4 or -march=athlon-xp and -O3. (or for small harddrives -Os)
Besides, -O3 is risky, for it has an increased possibility to crash builds. (practical experience)
I usually compile stuff with
-Os -s -pipe -fomit-frame-pointer -march=pentium3 -msse
Ah, the kernel (at least 2.4) doesnt accept -fomit-frame-pointer, and likely glibc, gcc and binutils dont like it either.
more on optimalisations (intro):
http://www.network-theory.co.uk/docs/gc ... ro_42.html
and (hard)
http://gcc.gnu.org/onlinedocs/gcc/Optim ... ze-Options
http://gcc.gnu.org/onlinedocs/gcc/i386- ... 64-Options
Bibendi ergo sum
or rather: sum ergo bibendi
or rather: sum ergo bibendi
well I am a programmer in study
and my "automated" lfs has nothing to do with theirs, I've never looked into it.
I simply write my commands once into a script, for each things I install. and it Includes a blfs like installation at the end of it.
I'll look into using 0s more to see how it turns out. Thanx. The lfs tought me the Linux system.
and my "automated" lfs has nothing to do with theirs, I've never looked into it.
I simply write my commands once into a script, for each things I install. and it Includes a blfs like installation at the end of it.
I'll look into using 0s more to see how it turns out. Thanx. The lfs tought me the Linux system.
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
That is how slackware is built. Each program that is compiled has a list of commands to build it, and then a line at the end to make a slackware package (itself just a reasonably long script that does some sanity checking of the input, and deals with symlinks to allow for redisribution).
Go look at the foo.slackbuild files on your local slackware mirror, you will see many similarities.
Gentoo uses a similar system with ebuild's, except that they do dependancy checking beforhand, as do Arch's Pacman scripts
Go look at the foo.slackbuild files on your local slackware mirror, you will see many similarities.
Gentoo uses a similar system with ebuild's, except that they do dependancy checking beforhand, as do Arch's Pacman scripts
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead