Gentoo Archives: gentoo-user

From: Hung Dang <hungptit@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emerge --oneshot gcc-4.1.2
Date: Sun, 03 May 2009 22:08:22
Message-Id: 49FE15A5.7060607@gmail.com
In Reply to: Re: [gentoo-user] Re: emerge --oneshot gcc-4.1.2 by Jorge Morais
1 I need gcc-4.1.2 because CUDA examples are failed when compiled with
2 gcc-4.3.3 or at least I could not make it work with CUDA.
3 Now I have the new problem that I could not compile gcc-4.1.2 with
4 gcc-4.3.3 and it seem hard to solve this problem.
5
6 Does anyone here in our forum could make CUDA work on Gentoo with gcc-4.3?
7
8 Thanks a lot
9 Hung
10
11
12 Jorge Morais wrote:
13 > On Sat, 02 May 2009 20:34:02 +0300
14 > Nikos Chantziaras <realnc@×××××.de> wrote:
15 >
16 >
17 >> Hung Dang wrote:
18 >>
19 >>> Hi all
20 >>> I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the
21 >>> following message.
22 >>>
23 >>> !!! 'gcc-4.1.2' is not a valid package atom.
24 >>> !!! Please check ebuild(5) for full details.
25 >>>
26 >>> What should I do to avoid of this problem?
27 >>>
28 >> Try:
29 >>
30 >> emerge --oneshot =gcc-4.1.2
31 >>
32 >> (that is, you need an "=" in front.)
33 >>
34 >> Or simply just:
35 >>
36 >> emerge --oneshot gcc
37 >>
38 >> if you're not using an ~arch ("testing") GCC.
39 >>
40 >>
41 > In many architectures GCC 4.3 is the newest stable versions, dude.
42 >
43 >