public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] install from stage1: why gcc-3.3.6?
@ 2005-08-01 20:49 Qiangning Hong
  2005-08-02  2:50 ` Craig Duncan
  2005-08-02  2:50 ` Craig Duncan
  0 siblings, 2 replies; 17+ messages in thread
From: Qiangning Hong @ 2005-08-01 20:49 UTC (permalink / raw
  To: gentoo-user

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=affiliates&amp;id=67907&amp;t=1>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-01 20:49 [gentoo-user] install from stage1: why gcc-3.3.6? Qiangning Hong
@ 2005-08-02  2:50 ` Craig Duncan
  2005-08-02  2:50 ` Craig Duncan
  1 sibling, 0 replies; 17+ messages in thread
From: Craig Duncan @ 2005-08-02  2:50 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-01 20:49 [gentoo-user] install from stage1: why gcc-3.3.6? Qiangning Hong
  2005-08-02  2:50 ` Craig Duncan
@ 2005-08-02  2:50 ` Craig Duncan
  2005-08-02  4:25   ` Qiangning Hong
  1 sibling, 1 reply; 17+ messages in thread
From: Craig Duncan @ 2005-08-02  2:50 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  2:50 ` Craig Duncan
@ 2005-08-02  4:25   ` Qiangning Hong
  2005-08-02  4:59     ` Javier Uribe
                       ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Qiangning Hong @ 2005-08-02  4:25 UTC (permalink / raw
  To: gentoo-user

On 8/2/05, Craig Duncan <craigduncan@entuend.com> 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=affiliates&amp;id=67907&amp;t=1>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  4:25   ` Qiangning Hong
@ 2005-08-02  4:59     ` Javier Uribe
  2005-08-02  5:13       ` Qiangning Hong
  2005-08-02  6:27       ` Richard Fish
  2005-08-02  5:08     ` adrian
                       ` (2 subsequent siblings)
  3 siblings, 2 replies; 17+ messages in thread
From: Javier Uribe @ 2005-08-02  4:59 UTC (permalink / raw
  To: gentoo-user

El Mar 02 Ago 2005 00:25, Qiangning Hong escribió:
> On 8/2/05, Craig Duncan <craigduncan@entuend.com> 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=affiliates&amp;id=67907&amp;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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  4:25   ` Qiangning Hong
  2005-08-02  4:59     ` Javier Uribe
@ 2005-08-02  5:08     ` adrian
  2005-08-02  6:26     ` Richard Fish
  2005-08-02  9:42     ` [gentoo-user] ethernet speed Uwe Thiem
  3 siblings, 0 replies; 17+ messages in thread
From: adrian @ 2005-08-02  5:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1744 bytes --]

On Tue, Aug 02, 2005 at 12:25:53PM +0800, Qiangning Hong wrote:
> On 8/2/05, Craig Duncan <craigduncan@entuend.com> 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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  4:59     ` Javier Uribe
@ 2005-08-02  5:13       ` Qiangning Hong
  2005-08-02  5:44         ` Javier Uribe
  2005-08-02  6:27       ` Richard Fish
  1 sibling, 1 reply; 17+ messages in thread
From: Qiangning Hong @ 2005-08-02  5:13 UTC (permalink / raw
  To: gentoo-user

On 8/2/05, Javier Uribe <juribe@linuxchile.cl> 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
[ebuild  N    ]   sys-devel/gettext-0.14.4
[ebuild  N    ]    sys-libs/glibc-2.3.5-r1
[ebuild  N    ]     sys-kernel/linux-headers-2.6.11-r2
[ebuild  N    ] sys-devel/gcc-3.3.6
[ebuild  N    ]     sys-devel/gcc-3.4.4
[ebuild  N    ]      sys-libs/zlib-1.2.3
[ebuild  N    ]      sys-apps/texinfo-4.8
[ebuild  N    ]      sys-devel/gcc-config-1.3.12
[ebuild  N    ]      sys-apps/sed-4.1.4
[ebuild  N    ]      sys-devel/bison-1.875d
[ebuild  N    ]       sys-devel/m4-1.4.2-r1
[ebuild  N    ]      sys-devel/binutils-2.15.92.0.2-r10
[ebuild  N    ]       sys-devel/gnuconfig-20050324
[ebuild  N    ]       sys-devel/binutils-config-1.8-r4
[ebuild  N    ]        app-shells/bash-3.0-r12
[ebuild  N    ]         sys-libs/ncurses-5.4-r6
[ebuild  N    ] app-arch/cpio-2.6-r4
[ebuild  N    ] app-arch/bzip2-1.0.3-r4
[ebuild  N    ]  sys-devel/patch-2.5.9


-- 
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=affiliates&amp;id=67907&amp;t=1>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  5:13       ` Qiangning Hong
@ 2005-08-02  5:44         ` Javier Uribe
  2005-08-02  9:13           ` Holly Bostick
  0 siblings, 1 reply; 17+ messages in thread
From: Javier Uribe @ 2005-08-02  5:44 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  4:25   ` Qiangning Hong
  2005-08-02  4:59     ` Javier Uribe
  2005-08-02  5:08     ` adrian
@ 2005-08-02  6:26     ` Richard Fish
  2005-08-02  9:42     ` [gentoo-user] ethernet speed Uwe Thiem
  3 siblings, 0 replies; 17+ messages in thread
From: Richard Fish @ 2005-08-02  6:26 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  4:59     ` Javier Uribe
  2005-08-02  5:13       ` Qiangning Hong
@ 2005-08-02  6:27       ` Richard Fish
  1 sibling, 0 replies; 17+ messages in thread
From: Richard Fish @ 2005-08-02  6:27 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] install from stage1: why gcc-3.3.6?
  2005-08-02  5:44         ` Javier Uribe
@ 2005-08-02  9:13           ` Holly Bostick
  0 siblings, 0 replies; 17+ messages in thread
From: Holly Bostick @ 2005-08-02  9:13 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] ethernet speed
  2005-08-02  4:25   ` Qiangning Hong
                       ` (2 preceding siblings ...)
  2005-08-02  6:26     ` Richard Fish
@ 2005-08-02  9:42     ` Uwe Thiem
  2005-08-02 10:29       ` Rhywek
  2005-08-02 10:41       ` Mike Williams
  3 siblings, 2 replies; 17+ messages in thread
From: Uwe Thiem @ 2005-08-02  9:42 UTC (permalink / raw
  To: gentoo-user

Hi folks,

if a gigabit ethernet card is set to auto detect speed and duplex mode, how 
can I find out how it actually connects? I poked around in /proc but didn't 
find anything useful.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] ethernet speed
  2005-08-02  9:42     ` [gentoo-user] ethernet speed Uwe Thiem
@ 2005-08-02 10:29       ` Rhywek
  2005-08-02 10:41       ` Mike Williams
  1 sibling, 0 replies; 17+ messages in thread
From: Rhywek @ 2005-08-02 10:29 UTC (permalink / raw
  To: gentoo-user

Uwe Thiem wrote:

>Hi folks,
>
>if a gigabit ethernet card is set to auto detect speed and duplex mode, how 
>can I find out how it actually connects? I poked around in /proc but didn't 
>find anything useful.
>
>Uwe
>
>  
>
With normal 100Mbs card I can see the speed and duplex if I do:
tail -f /var/log/everything/current

Maybe it will work for you.

Greetings,
Rhywek.



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] ethernet speed
  2005-08-02  9:42     ` [gentoo-user] ethernet speed Uwe Thiem
  2005-08-02 10:29       ` Rhywek
@ 2005-08-02 10:41       ` Mike Williams
  2005-08-02 11:30         ` Uwe Thiem
  1 sibling, 1 reply; 17+ messages in thread
From: Mike Williams @ 2005-08-02 10:41 UTC (permalink / raw
  To: gentoo-user

On Tuesday 02 August 2005 10:42, Uwe Thiem wrote:
> if a gigabit ethernet card is set to auto detect speed and duplex mode, how
> can I find out how it actually connects? I poked around in /proc but didn't
> find anything useful.

mii-tool, part of net-tools.

And please don't reply to an existing message to start a new thread.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] ethernet speed
  2005-08-02 10:41       ` Mike Williams
@ 2005-08-02 11:30         ` Uwe Thiem
  2005-08-02 11:49           ` Neil Bothwick
  0 siblings, 1 reply; 17+ messages in thread
From: Uwe Thiem @ 2005-08-02 11:30 UTC (permalink / raw
  To: gentoo-user

On 02 August 2005 11:41, Mike Williams wrote:
> On Tuesday 02 August 2005 10:42, Uwe Thiem wrote:
> > if a gigabit ethernet card is set to auto detect speed and duplex mode,
> > how can I find out how it actually connects? I poked around in /proc but
> > didn't find anything useful.
>
> mii-tool, part of net-tools.

Thanks. Unfortunately, it doesn't seem to know anything about Gb ethernet. :-(

>
> And please don't reply to an existing message to start a new thread.

Alright.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] ethernet speed
  2005-08-02 11:30         ` Uwe Thiem
@ 2005-08-02 11:49           ` Neil Bothwick
  2005-08-02 15:04             ` Uwe Thiem
  0 siblings, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2005-08-02 11:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

On Tue, 2 Aug 2005 12:30:46 +0100, Uwe Thiem wrote:

> > mii-tool, part of net-tools.
> 
> Thanks. Unfortunately, it doesn't seem to know anything about Gb
> ethernet. :-(

Use ethtool

[root@hactar ~]# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Link detected: yes

This correctly identifies that I have a Gb interface, although it's
connected to a 100Mb switch.


-- 
Neil Bothwick

A computer program does what you tell it to do, not what you want it to
do.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] ethernet speed
  2005-08-02 11:49           ` Neil Bothwick
@ 2005-08-02 15:04             ` Uwe Thiem
  0 siblings, 0 replies; 17+ messages in thread
From: Uwe Thiem @ 2005-08-02 15:04 UTC (permalink / raw
  To: gentoo-user

On 02 August 2005 12:49, Neil Bothwick wrote:
> On Tue, 2 Aug 2005 12:30:46 +0100, Uwe Thiem wrote:
> > > mii-tool, part of net-tools.
> >
> > Thanks. Unfortunately, it doesn't seem to know anything about Gb
> > ethernet. :-(
>
> Use ethtool

Thanks! That is exactly what the doctor has prescribed.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-08-02 15:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 20:49 [gentoo-user] install from stage1: why gcc-3.3.6? Qiangning Hong
2005-08-02  2:50 ` Craig Duncan
2005-08-02  2:50 ` Craig Duncan
2005-08-02  4:25   ` Qiangning Hong
2005-08-02  4:59     ` Javier Uribe
2005-08-02  5:13       ` Qiangning Hong
2005-08-02  5:44         ` Javier Uribe
2005-08-02  9:13           ` Holly Bostick
2005-08-02  6:27       ` Richard Fish
2005-08-02  5:08     ` adrian
2005-08-02  6:26     ` Richard Fish
2005-08-02  9:42     ` [gentoo-user] ethernet speed Uwe Thiem
2005-08-02 10:29       ` Rhywek
2005-08-02 10:41       ` Mike Williams
2005-08-02 11:30         ` Uwe Thiem
2005-08-02 11:49           ` Neil Bothwick
2005-08-02 15:04             ` Uwe Thiem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox