Re: [gentoo-user] Re: default stage3
On Tue, 22 Nov 2005 00:28:26 +0100, Matthias Langer wrote: As I understand it, the first time you recompile new toolchain with your old toolchain, and then the 2nd time you're recompiling the toolchain with the new toolchain, with the idea that the new toolchain will compile/assemble/link/etc everything in a different way than the old toolchain. Please correct if I'm wrong. I would suggest 'emerge -uD gcc emerge -e world'; This should recompile the new toolchain with the new toolchain and be considerably faster. The first command won't do anything, -D doesn't take account of of USE or CFLAG changes. emerge -e system emerge -e world might be better, but there are scripts on the forums that recompile just what you need, in the best order, such as; http://forums.gentoo.org/viewtopic-t-282474.html -- Neil Bothwick I came, I saw, I had no idea what was going on, I left. signature.asc Description: PGP signature
Re: [gentoo-user] Re: default stage3
On 11/22/05, Neil Bothwick [EMAIL PROTECTED] wrote: The first command won't do anything, -D doesn't take account of of USE or CFLAG changes. It will update gcc or any dependancies of gcc to the current version. Unless one of those things have been updated, there is no need to build anything more than once, because the code produced by gcc doesn't change based on the CFLAGS/CHOST/USE settings that _gcc_ was compiled with. emerge -uD system emerge -e world is sufficient. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: default stage3
On Tue, 2005-11-22 at 09:17 +, Neil Bothwick wrote: On Tue, 22 Nov 2005 00:28:26 +0100, Matthias Langer wrote: As I understand it, the first time you recompile new toolchain with your old toolchain, and then the 2nd time you're recompiling the toolchain with the new toolchain, with the idea that the new toolchain will compile/assemble/link/etc everything in a different way than the old toolchain. Please correct if I'm wrong. I would suggest 'emerge -uD gcc emerge -e world'; This should recompile the new toolchain with the new toolchain and be considerably faster. The first command won't do anything, -D doesn't take account of of USE or CFLAG changes. Well, you are right, in theory; In practice, where the toolchain on the live-cd is not up to date, it will get completley recompiled by emerge -uD gcc (after syncing) - at least I think so ... However, thanks for pointing that out ... emerge -e system emerge -e world might be better, but there are scripts on the forums that recompile just what you need, in the best order, such as; http://forums.gentoo.org/viewtopic-t-282474.html Matthias -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Re: default stage3
-Original Message- From: Allan Gottlieb [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 12:16 PM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: default stage3 At Mon, 21 Nov 2005 14:13:14 +0100 Hemmann, Volker Armin [EMAIL PROTECTED] wrote: On Monday 21 November 2005 13:33, Steve B wrote: WTF.. I'm getting ready to rebuild my gentoo box. I have always did a stage 1 install. i was under the impression that if u used a stage 3 u couldn't muck with your CFLAGS or what not. 3. If you fiddle with USE flags, /etc/package.* files, etc, you can get the effect of a customized stage1 install by recompiling everything twice. I suspect simply emerge -e world; emerge -e world 3A. Only a few items really need to be compiled the first time. 3B. There are scripts in the forums to do this automatically. I installed gentoo on a dual Opteron box this weekend, I've always done stage1 installs, but this time decided to try the recommeded stage3 method. I understand the concept of doing an emerge -e world in order to get the optimization of a stage1 install, and I've done this ( one time ) on the install I just completed. Can sombody explain why it's necessary/desirable to do this *twice*? What real difference does the second execution really make? Thanks, Bob Young -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: default stage3
I installed gentoo on a dual Opteron box this weekend, I've always done stage1 installs, but this time decided to try the recommeded stage3 method. I understand the concept of doing an emerge -e world in order to get the optimization of a stage1 install, and I've done this ( one time ) on the install I just completed. Can sombody explain why it's necessary/desirable to do this *twice*? What real difference does the second execution really make? As I understand it, the first time you recompile new toolchain with your old toolchain, and then the 2nd time you're recompiling the toolchain with the new toolchain, with the idea that the new toolchain will compile/assemble/link/etc everything in a different way than the old toolchain. Please correct if I'm wrong. -- Ryan W Sims () ascii ribbon /\ campaign - against html mail - against proprietary attachments -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: default stage3
On Mon, 2005-11-21 at 17:01 -0500, Ryan Sims wrote: I installed gentoo on a dual Opteron box this weekend, I've always done stage1 installs, but this time decided to try the recommeded stage3 method. I understand the concept of doing an emerge -e world in order to get the optimization of a stage1 install, and I've done this ( one time ) on the install I just completed. Can sombody explain why it's necessary/desirable to do this *twice*? What real difference does the second execution really make? As I understand it, the first time you recompile new toolchain with your old toolchain, and then the 2nd time you're recompiling the toolchain with the new toolchain, with the idea that the new toolchain will compile/assemble/link/etc everything in a different way than the old toolchain. Please correct if I'm wrong. I would suggest 'emerge -uD gcc emerge -e world'; This should recompile the new toolchain with the new toolchain and be considerably faster. Matthias -- gentoo-user@gentoo.org mailing list