Linux-2.4.29-grsec vs Crossfire Server 1.7.0 & client 1I

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

You do know that you just described gentoo don't you?
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

cavesomething wrote:You do know that you just described gentoo don't you?
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.

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)
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)
-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)
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
Guest

Post by Guest »

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.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

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
woo
Senior member
Posts: 427
Joined: Tue Jun 15, 2004 10:32 pm
Location: Atlanta, GA
Contact:

Post by woo »

Just remember that if you remove anything in gentoo it won't check for squat, so you can happily remove glibc if you want to watch kernel panics and what not :twisted:
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

I broke my third distro that way. Mandrake 9.0. decided to uodate to stuff from cooker, I wanted to update glibc, but it wouldn't upgrade nicely, so I decided to remove my existing one first and then install the new one.....
yerp
Newbie
Posts: 6
Joined: Thu Feb 10, 2005 6:25 am

Post by yerp »

that sounds like fun.. :lol:
Follow the White Penguin
Post Reply