[gentoo-user] Stage tarballs
---BeginMessage--- can anyone explain to me what are the differences between the stage 1,2 and 3 installation tarballs? :/ thx... ---End Message---
Re: [gentoo-user] Stage tarballs
On Monday 16 April 2007, Jesús Guerrero [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Stage tarballs': El Mon, 16 Apr 2007 15:54:49 +0300 Stratos Psomadakis [EMAIL PROTECTED] escribió: can anyone explain to me what are the differences between the stage 1,2 and 3 installation tarballs?ç They are three different stages of the same thing. Stage1 is a tarball which contains a basic minimal C compiler. And, unless a fix has been discovered and applied, stage1 tarball doesn't contain any information about what packages own what files, so starting from stage 1 will leave a minimal amount of cruft in /usr (?and /var?). IIRC, I started from stage 1 on my first install (2004.3), but I wouldn't recommend anything other than stage 3 to anyone at this point, since there's now an established procedure for changing your CHOST if need be, and packages in system will eventually pick up any CFLAGS customizations gradually. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Stage tarballs
installing with stage3 and 2x emerge -e system and 2x emerge -e world will give you exact performance as it was installed from stage1.. On 4/16/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Monday 16 April 2007, Jesús Guerrero [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Stage tarballs': El Mon, 16 Apr 2007 15:54:49 +0300 Stratos Psomadakis [EMAIL PROTECTED] escribió: can anyone explain to me what are the differences between the stage 1,2 and 3 installation tarballs?ç They are three different stages of the same thing. Stage1 is a tarball which contains a basic minimal C compiler. And, unless a fix has been discovered and applied, stage1 tarball doesn't contain any information about what packages own what files, so starting from stage 1 will leave a minimal amount of cruft in /usr (?and /var?). IIRC, I started from stage 1 on my first install (2004.3), but I wouldn't recommend anything other than stage 3 to anyone at this point, since there's now an established procedure for changing your CHOST if need be, and packages in system will eventually pick up any CFLAGS customizations gradually. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ -- purple..
Re: [gentoo-user] Stage tarballs
On Monday 16 April 2007, Boyd Stephen Smith Jr. wrote: IIRC, I started from stage 1 on my first install (2004.3), but I wouldn't recommend anything other than stage 3 to anyone at this point, since there's now an established procedure for changing your CHOST if need be, and packages in system will eventually pick up any CFLAGS customizations gradually. It's a good learning experience to do at least one stage 1 sometime in your life, you learn a *huge* amount from it. But like you say, after you've done it once, doing it again becomes pretty pointless :-) alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Stage tarballs
El Mon, 16 Apr 2007 15:56:27 +0200 purple [EMAIL PROTECTED] escribió: installing with stage3 and 2x emerge -e system and 2x emerge -e world will give you exact performance as it was installed from stage1.. Nah, doing an emerge -e world will give you exactly the same. Since the gcc compiler bootstraps itself on compile time, so, recompiling it again and again and again and again is pretty much useless. What does that mean? Well, the compiler first is compiled with your actual c compiler, and then, once it's been compiled, it automatically re-compiles itself using the produced compiler. So, if you do it again you are just wasting your time. That is, of course, unless you pass the --disable-bootstrap option to ./configure when compiling gcc, but as you all can see, it is not the case: # grep disable-bootstrap /var/portage/sys-devel/gcc/gcc-4.1.1.ebuild # It is a common and widespread misconception. Of course, you can still recompile gcc as many times as you wish, if that makes you happy. --Jesús Guerrero -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Stage tarballs
El Mon, 16 Apr 2007 16:02:39 +0200 Alan McKinnon [EMAIL PROTECTED] escribió: On Monday 16 April 2007, Boyd Stephen Smith Jr. wrote: IIRC, I started from stage 1 on my first install (2004.3), but I wouldn't recommend anything other than stage 3 to anyone at this point, since there's now an established procedure for changing your CHOST if need be, and packages in system will eventually pick up any CFLAGS customizations gradually. It's a good learning experience to do at least one stage 1 sometime in your life, you learn a *huge* amount from it. But like you say, after you've done it once, doing it again becomes pretty pointless :-) That argument is not too good. The difference between stage3 and stage1 in terms of learning is this: # you uncompress the stage, like you'd do with stage3 # then the portage snapshot $ cd /usr/portage/scripts $ ./bootstrap.sh # wait $ emerge -e system Now, you are at stage3 (if all went ok, which is often not the case). So, besides wasting your time, there is no point (even for learning purposes) on doing a stage1 install. If you want to learn something about the build process of a linux distro go and use linux from scratch. The snippet above (actually 3 commands) is all you will learn form stage1. Of course, if you get some trouble in the way you will have to learn some more things, but, first, that is not supposed to happen, and second, it is not the best way to learn, cause it often leads to frustration. -- Jesús Guerrero -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Stage tarballs
On Monday 16 April 2007, Jesús Guerrero wrote: So, besides wasting your time, there is no point (even for learning purposes) on doing a stage1 install. If you want to learn something about the build process of a linux distro go and use linux from scratch. The snippet above (actually 3 commands) is all you will learn form stage1. I don't agree, at least not in my case. Yes, I did do an LFS install, but after the first few compiles it became a purely mechanical process where I was entering commands off the howto blindly and not really comprehending what was happening. A stage 1 on the other hand, was just enough thinking about it and what might happen, then let the process rip ahead. I was still interested enough to pay real attention to the outpout on screen and learn from it. As with all things, we have different experiences and ymmv alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list