Re: [gentoo-user] install from stage1: why gcc-3.3.6?
Qiangning Hong wrote: Well, whatever, I add =sys-devel/gcc-3.4.4 to /etc/portage/packae.unmask and find that gcc-3.3.6 still is to be emerged: # emerge -ept system | grep gcc [ebuild N] sys-devel/gcc-3.3.6 [ebuild N] sys-devel/gcc-3.4.4 [ebuild N] sys-devel/gcc-config-1.3.11-r4 And from the tree output, I find that gcc-3.4.4 is listed as a dependence of gcc-3.3.6. ??? Actually, this means 3.3.6 is a dependancy of 3.4.4 (dependancies are shown at higher levels). Looking at the gcc-3.4.4 ebuild, I find this: PDEPEND=sys-devel/gcc-config x86? ( !nocxx? ( !elibc_uclibc? ( !build? ( || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) ) ) ) ) So it seems that gcc 3.3 is a dependancy of 3.4 for the stdc++ library. Thus I think you also need to accept ~x86 for sys-libs/libstdc++-v3 in package.keywords. If that doesn't help, try posting the output of emerge --info. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
Javier Uribe wrote: Hi. you do this echo sys-devel/gcc ~x86 /etc/portage/package.keywords echo sys-libs/glibc ~x86 /etc/portage/package.keywords echo sys-libs/libstdc++-v3 ~x86 /etc/portage/package.keywords echo sys-devel/gcc-config ~x86 /etc/portage/package.keywords Um, do not copy and paste these directly, as they will destroy your package.keywords file You need to replace all '' with ''. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
On Tue, Aug 02, 2005 at 12:25:53PM +0800, Qiangning Hong wrote: On 8/2/05, Craig Duncan [EMAIL PROTECTED] wrote: Qiangning Hong wrote: The gcc version on livecd (2004.3) is 3.3.x, but I want use -march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it. So I add the following line in /etc/portage/package.keywords: sys-devel/gcc ~x86 gcc-3.3.6? I don't need it! I have gcc-3.4.4 unmasked! No, package.keywords is architecture specific, to unmask a package, add it to /etc/portage/package.unmask. I thought there is a kind of mask named mask by KEYWORDS :) Well, whatever, I add =sys-devel/gcc-3.4.4 to /etc/portage/packae.unmask and find that gcc-3.3.6 still is to be emerged: # emerge -ept system | grep gcc [ebuild N] sys-devel/gcc-3.3.6 [ebuild N] sys-devel/gcc-3.4.4 [ebuild N] sys-devel/gcc-config-1.3.11-r4 And from the tree output, I find that gcc-3.4.4 is listed as a dependence of gcc-3.3.6. ??? What further I need to do to get rid of installing gcc-3.3.6 in my system? From http://gentoo-wiki.com/HOWTO_Migrate_to_GCC_3.4: emerge -C =gcc-3.3.6 you can probably also do: emerge -P gcc BTW, gcc-3.4 depends on gcc-3.3 for its version of libstdc++. If you remove gcc-3.3, your emerge -ept system should install libstdc++-v3 instead. Hope it helps, Adrian -- Adrian Frith - UCT Comp.Sci. Student - UNIX Geek Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. -- Gandalf the Grey, Lord of the Rings Book One Chapter II pgp9XbLVdECFk.pgp Description: PGP signature
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
Javier Uribe schreef: El Mar 02 Ago 2005 01:13, Qiangning Hong escribió: Doesn't work. gcc-3.3.6 is still in the emerge list. GCC 3.3.X is necessary to compile GCC 3.4. it follows with confidence greetings In case this is not clear-- --the idea is that you need a compiler to compile the new version of GCC. (It's obvious when you think about it.) Thus you need gcc-3.3.6 to compile gcc-3.4.4. What you then have to do is change your 'standard' gcc to 3.4.4, if it is not changed already, using gcc-config. Then you have to compiled gcc-3.4.4 again, and now you will be using gcc-3.4.4 to compile gcc-3.4.4. Then you have to clean the rest of the toolchain (which was also compiled using gcc-3.3.6), by compiling that using gcc-3.4.4. Then you should be more-or-less safe to remove gcc-3.3.6. I've done this myself; it's like 2.5 emerge-e worlds, but there are several scripts posted on the forums to automate this as much as is possible. http://forums.gentoo.org/viewtopic-t-282474.html http://forums.gentoo.org/viewtopic-t-345229.html http://forums.gentoo.org/viewtopic-t-189250.html HTH, Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] install from stage1: why gcc-3.3.6?
I bought a new laptop with pentium-m CPU and installing gentoo on it from stage1. The gcc version on livecd (2004.3) is 3.3.x, but I want use -march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it. So I add the following line in /etc/portage/package.keywords: sys-devel/gcc ~x86 and run bootstrap.sh with the default CFLAGS -mcpu=i686, and get gcc 3.4.4. Then I change my CFLAGS to -march=pentium-m and execute emerge -e system as Handbook says. But it failed when emerging gcc-3.3.6 because of unknown value for -march=. gcc-3.3.6? I don't need it! I have gcc-3.4.4 unmasked! I check the package list of emerge -ep system, and find both gcc-3.3.6 and gcc-3.4.4 are to be emerged. Why? How can I get rid of emerging two versions of gcc? -- Qiangning Hong I'm usually annoyed by IDEs because, for instance, they don't use VIM as an editor. Since I'm hooked to that, all IDEs I've used so far have failed to impress me. -- Sybren Stuvel @ c.l.python Get Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
Qiangning Hong wrote: The gcc version on livecd (2004.3) is 3.3.x, but I want use -march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it. So I add the following line in /etc/portage/package.keywords: sys-devel/gcc ~x86 gcc-3.3.6? I don't need it! I have gcc-3.4.4 unmasked! No, package.keywords is achitecture specific, to unmask a package, add it to /etc/portage/package.unmask. Craig -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
Qiangning Hong wrote: The gcc version on livecd (2004.3) is 3.3.x, but I want use -march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it. So I add the following line in /etc/portage/package.keywords: sys-devel/gcc ~x86 gcc-3.3.6? I don't need it! I have gcc-3.4.4 unmasked! No, package.keywords is architecture specific, to unmask a package, add it to /etc/portage/package.unmask. Craig -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
On 8/2/05, Craig Duncan [EMAIL PROTECTED] wrote: Qiangning Hong wrote: The gcc version on livecd (2004.3) is 3.3.x, but I want use -march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it. So I add the following line in /etc/portage/package.keywords: sys-devel/gcc ~x86 gcc-3.3.6? I don't need it! I have gcc-3.4.4 unmasked! No, package.keywords is architecture specific, to unmask a package, add it to /etc/portage/package.unmask. I thought there is a kind of mask named mask by KEYWORDS :) Well, whatever, I add =sys-devel/gcc-3.4.4 to /etc/portage/packae.unmask and find that gcc-3.3.6 still is to be emerged: # emerge -ept system | grep gcc [ebuild N] sys-devel/gcc-3.3.6 [ebuild N] sys-devel/gcc-3.4.4 [ebuild N] sys-devel/gcc-config-1.3.11-r4 And from the tree output, I find that gcc-3.4.4 is listed as a dependence of gcc-3.3.6. ??? What further I need to do to get rid of installing gcc-3.3.6 in my system? -- Qiangning Hong I'm usually annoyed by IDEs because, for instance, they don't use VIM as an editor. Since I'm hooked to that, all IDEs I've used so far have failed to impress me. -- Sybren Stuvel @ c.l.python Get Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
El Mar 02 Ago 2005 00:25, Qiangning Hong escribió: On 8/2/05, Craig Duncan [EMAIL PROTECTED] wrote: Qiangning Hong wrote: The gcc version on livecd (2004.3) is 3.3.x, but I want use -march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it. So I add the following line in /etc/portage/package.keywords: sys-devel/gcc ~x86 gcc-3.3.6? I don't need it! I have gcc-3.4.4 unmasked! No, package.keywords is architecture specific, to unmask a package, add it to /etc/portage/package.unmask. I thought there is a kind of mask named mask by KEYWORDS :) Well, whatever, I add =sys-devel/gcc-3.4.4 to /etc/portage/packae.unmask and find that gcc-3.3.6 still is to be emerged: # emerge -ept system | grep gcc [ebuild N] sys-devel/gcc-3.3.6 [ebuild N] sys-devel/gcc-3.4.4 [ebuild N] sys-devel/gcc-config-1.3.11-r4 And from the tree output, I find that gcc-3.4.4 is listed as a dependence of gcc-3.3.6. ??? What further I need to do to get rid of installing gcc-3.3.6 in my system? -- Qiangning Hong I'm usually annoyed by IDEs because, for instance, they don't use VIM as an editor. Since I'm hooked to that, all IDEs I've used so far have failed to impress me. -- Sybren Stuvel @ c.l.python Get Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1 Hi. you do this echo sys-devel/gcc ~x86 /etc/portage/package.keywords echo sys-libs/glibc ~x86 /etc/portage/package.keywords echo sys-libs/libstdc++-v3 ~x86 /etc/portage/package.keywords echo sys-devel/gcc-config ~x86 /etc/portage/package.keywords and ready -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
On 8/2/05, Javier Uribe [EMAIL PROTECTED] wrote: El Mar 02 Ago 2005 00:25, Qiangning Hong escribió: # emerge -ept system | grep gcc [ebuild N] sys-devel/gcc-3.3.6 [ebuild N] sys-devel/gcc-3.4.4 [ebuild N] sys-devel/gcc-config-1.3.11-r4 And from the tree output, I find that gcc-3.4.4 is listed as a dependence of gcc-3.3.6. ??? What further I need to do to get rid of installing gcc-3.3.6 in my system? Hi. you do this echo sys-devel/gcc ~x86 /etc/portage/package.keywords echo sys-libs/glibc ~x86 /etc/portage/package.keywords echo sys-libs/libstdc++-v3 ~x86 /etc/portage/package.keywords echo sys-devel/gcc-config ~x86 /etc/portage/package.keywords and ready Doesn't work. gcc-3.3.6 is still in the emerge list. livecd / # ls /etc/portage package.keywords package.unmask package.use sets livecd / # cat /etc/portage/package.keywords sys-devel/gcc ~x86 sys-libs/glibc ~x86 sys-libs/libstdc++-v3 ~x86 sys-devel/gcc-config ~x86 livecd / # cat /etc/portage/package.unmask =sys-devel/gcc-3.4.4 livecd / # emerge -etp system | grep gcc [ebuild N] sys-devel/gcc-3.3.6 [ebuild N] sys-devel/gcc-3.4.4 [ebuild N] sys-devel/gcc-config-1.3.12 livecd / # emerge -etp system These are the packages that I would merge, in reverse order: Calculating system dependencies...done! [ebuild N] sys-libs/pwdb-0.62 [ebuild N] sys-apps/hdparm-5.9 [ebuild N] sys-apps/busybox-1.00-r4 [ebuild N] net-misc/openssh-3.9_p1-r2 [ebuild N] sys-apps/tcp-wrappers-7.6-r8 [ebuild N] sys-apps/module-init-tools-3.0-r2 [ebuild N] app-editors/nano-1.3.7 [ebuild N] sys-fs/udev-058 [ebuild N] sys-apps/hotplug-base-20040401 [ebuild N] sys-devel/make-3.80-r1 [ebuild N] sys-process/psmisc-21.5 [ebuild N] sys-process/procps-3.2.5-r1 [ebuild N] sys-apps/net-tools-1.60-r11 [ebuild N] sys-apps/man-pages-2.02 [ebuild N] sys-apps/less-382-r2 [ebuild N] sys-apps/kbd-1.12-r5 [ebuild N] sys-apps/grep-2.5.1-r7 [ebuild N] sys-apps/gawk-3.1.3-r2 [ebuild N] sys-apps/findutils-4.1.20-r1 [ebuild N] sys-apps/baselayout-1.11.13 [ebuild N] sys-apps/coreutils-5.2.1-r6 [ebuild N] sys-apps/help2man-1.33.1 [ebuild N]dev-perl/Locale-gettext-1.03 [ebuild N] sys-apps/sysvinit-2.86 [ebuild N] net-misc/wget-1.9.1-r5 [ebuild N] net-misc/rsync-2.6.0-r6 [ebuild N] dev-libs/popt-1.7-r1 [ebuild N] net-misc/iputils-021109-r3 [ebuild N] x11-terms/xterm-200-r3 [ebuild N] sys-apps/utempter-0.5.5.6 [ebuild N] app-arch/rpm2targz-9.0-r3 [ebuild N]sys-apps/which-2.16 [ebuild N]sys-apps/file-4.13 [ebuild N] dev-lang/python-2.3.5 [ebuild N] dev-lang/tk-8.4.9 [ebuild N] x11-base/xorg-x11-6.8.2-r2 [ebuild N]media-libs/fontconfig-2.2.3 [ebuild N]x11-misc/ttmkfdir-3.0.9-r3 [ebuild N] sys-devel/libtool-1.5.18-r1 [ebuild N]media-libs/freetype-2.1.9-r1 [ebuild N]x11-base/opengl-update-2.2.1 [ebuild N]media-libs/libpng-1.2.8 [ebuild N]sys-apps/util-linux-2.12i-r1 [ebuild N] app-crypt/hashalot-0.3 [ebuild N] sys-fs/e2fsprogs-1.38 [ebuild N] sys-libs/ss-1.38 [ebuild N] sys-libs/com_err-1.38 [ebuild N] sys-apps/pam-login-3.17 [ebuild N] sys-apps/shadow-4.0.7-r3 [ebuild N] sys-apps/portage-2.0.51.22-r2 [ebuild N]sys-apps/debianutils-2.13.1-r1 [ebuild N]sys-apps/sandbox-1.2.11 [ebuild N] sys-libs/pam-0.78-r2 [ebuild N] sys-devel/automake-1.9.5 [ebuild N]sys-devel/automake-wrapper-1-r1 [ebuild N] sys-devel/automake-1.4_p6 [ebuild N] sys-devel/automake-1.7.9-r1 [ebuild N] sys-devel/automake-1.6.3 [ebuild N] sys-devel/automake-1.8.5-r3 [ebuild N] sys-devel/automake-1.5 [ebuild N] dev-util/pkgconfig-0.17.2-r1 [ebuild N] sys-libs/cracklib-2.8.3-r1 [ebuild N] sys-devel/autoconf-2.59-r6 [ebuild N]sys-devel/autoconf-wrapper-3-r1 [ebuild N] sys-devel/autoconf-2.13 [ebuild N] dev-libs/expat-1.95.8 [ebuild N] dev-libs/openssl-0.9.7e-r1 [ebuild N] sys-apps/diffutils-2.8.7-r1 [ebuild N] sys-devel/bc-1.06-r6 [ebuild N]sys-devel/flex-2.5.4a-r5 [ebuild N] sys-libs/readline-5.0-r2 [ebuild N] dev-python/python-fchksum-1.7.1 [ebuild N] app-admin/perl-cleaner-1.01 [ebuild N] dev-lang/perl-5.8.6-r5 [ebuild N] sys-devel/libperl-5.8.6-r1 [ebuild N] sys-apps/man-1.6-r1 [ebuild N] sys-process/cronbase-0.3.2 [ebuild N] sys-apps/groff-1.19.1-r2 [ebuild N] sys-libs/gdbm-1.8.3-r1 [ebuild N] sys-libs/db-4.2.52_p2 [ebuild N] dev-lang/tcl-8.4.9 [ebuild N] app-arch/tar-1.15.1 [ebuild N] app-arch/gzip-1.3.5-r8
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
El Mar 02 Ago 2005 01:13, Qiangning Hong escribió: Doesn't work. gcc-3.3.6 is still in the emerge list. GCC 3.3.X is necessary to compile GCC 3.4. it follows with confidence greetings -- gentoo-user@gentoo.org mailing list