Gentoo Archives: gentoo-amd64

From: David Fellows <fellows@×××.ca>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] GCC 4 CFLAGS
Date: Mon, 25 Sep 2006 02:29:29
Message-Id: 200609250227.k8P2RZ4r026160@mailserv.unb.ca
In Reply to: Re: [gentoo-amd64] GCC 4 CFLAGS by Peter Humphrey
1 Peter Humphrey wrote:
2 > On Sunday 24 September 2006 14:48, David Fellows wrote:
3 >
4 > > Well -combine is a gcc 4.1.1 option, it is not a gcc 3.x option.
5 > > I would guess you are not compiling using gcc 4.1.1. Why you aren't is
6 > > another question....
7 > >
8 > > Use gcc-select
9 > > to see what is set for your default gcc and reset it if need be.
10 >
11 > $ gcc-select
12 > bash: gcc-select: command not found
13 > $ eselect compiler list
14 > Available compilers for CTARGET i686-pc-linux-gnu
15 > [1] x86_64-pc-linux-gnu-3.4.4/x86-hardened
16 > [2] x86_64-pc-linux-gnu-3.4.4/x86-hardenednopie
17 > [3] x86_64-pc-linux-gnu-3.4.4/x86-hardenednopiessp
18 > [4] x86_64-pc-linux-gnu-3.4.4/x86-hardenednossp
19 > [5] x86_64-pc-linux-gnu-3.4.4/x86-vanilla
20 > [6] x86_64-pc-linux-gnu-4.1.1/x86-vanilla
21 > Available compilers for CTARGET x86_64-pc-linux-gnu
22 > [7] x86_64-pc-linux-gnu-3.4.4/amd64-hardened
23 > [8] x86_64-pc-linux-gnu-3.4.4/amd64-hardenednopie
24 > [9] x86_64-pc-linux-gnu-3.4.4/amd64-hardenednopiessp
25 > [10] x86_64-pc-linux-gnu-3.4.4/amd64-hardenednossp
26 > [11] x86_64-pc-linux-gnu-3.4.4/amd64-vanilla
27 > [12] x86_64-pc-linux-gnu-4.1.1/amd64-vanilla
28 >
29 > Activated profiles:
30 > i686-pc-linux-gnu x86_64-pc-linux-gnu-4.1.1/x86-vanilla
31 > x86_64-pc-linux-gnu * x86_64-pc-linux-gnu-4.1.1/amd64-vanilla
32 >
33 > Is that what you meant?
34
35 Hmm. what I *meant* to say was gcc-config My goof. eselect compiler also
36 does. It is the way of the future I guess.
37 In any event the * in the last line of its output says that 4.1.1 is the
38 default compiler.
39
40 So verify again, emerge imagemagick with your fancy cc options. If you get
41 the error message again, then either the ebuild or autoconf is selecting a 3.6
42 version of gcc to compile with, Presumably by setting CTARGET.
43
44
45 Dave F
46
47 --
48 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] GCC 4 CFLAGS Peter Humphrey <prh@××××××××××.uk>